diff options
author | Araq <rumpf_a@web.de> | 2012-04-21 03:19:43 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-04-21 03:19:43 +0200 |
commit | 4aba7421f57d0f653ef928f012982957404416f9 (patch) | |
tree | d370a057c9f1ec4ffa4f9d16ee2c6c2359e04143 /compiler/nimrod.nim | |
parent | 8319e2411d07503f8ca1475f1ef9009384560c1c (diff) | |
download | Nim-4aba7421f57d0f653ef928f012982957404416f9.tar.gz |
GC with realtime support
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-x | compiler/nimrod.nim | 3 |
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) |