Fix missing import in nimprof.nim when --threads:on

This commit is contained in:
boydgreenfield 2014-05-20 16:57:33 -04:00
commit 876cad3a91

View file

@ -60,6 +60,7 @@ when not defined(memProfiler):
else: interval = intervalInUs * 1000 - tickCountCorrection
when withThreads:
import locks
var
profilingLock: TLock