From 4aba7421f57d0f653ef928f012982957404416f9 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 21 Apr 2012 03:19:43 +0200 Subject: GC with realtime support --- compiler/nimrod.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/nimrod.nim') 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) -- cgit 1.4.1-2-gfad0