summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-04-21 03:19:43 +0200
committerAraq <rumpf_a@web.de>2012-04-21 03:19:43 +0200
commit4aba7421f57d0f653ef928f012982957404416f9 (patch)
treed370a057c9f1ec4ffa4f9d16ee2c6c2359e04143 /compiler/nimrod.nim
parent8319e2411d07503f8ca1475f1ef9009384560c1c (diff)
downloadNim-4aba7421f57d0f653ef928f012982957404416f9.tar.gz
GC with realtime support
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-xcompiler/nimrod.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index e9c674a07..6328c3ae3 100755
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -103,6 +103,9 @@ proc HandleCmdLine() =
         execExternalProgram(ex & ' ' & arguments)
 
 #GC_disableMarkAndSweep()
+
+when defined(GC_setMaxPause):
+  GC_setMaxPause 2_000
 condsyms.InitDefines()
 HandleCmdLine()
 quit(options.gExitcode)