Merge pull request #1210 from boydgreenfield/nimprof-lock-fix
Fix nimprof import error when --threads:on.
This commit is contained in:
commit
f05ba51391
1 changed files with 7 additions and 6 deletions
|
|
@ -60,6 +60,7 @@ when not defined(memProfiler):
|
||||||
else: interval = intervalInUs * 1000 - tickCountCorrection
|
else: interval = intervalInUs * 1000 - tickCountCorrection
|
||||||
|
|
||||||
when withThreads:
|
when withThreads:
|
||||||
|
import locks
|
||||||
var
|
var
|
||||||
profilingLock: TLock
|
profilingLock: TLock
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue