Merge pull request #4047 from jboy/patch-1

Add `import sharedlist` when `hasThreadSupport`
This commit is contained in:
Andreas Rumpf 2016-04-05 13:49:59 +02:00
commit 2d80a9e4a6

View file

@ -28,6 +28,9 @@ template mulThreshold(x): expr {.immediate.} = x * 2
when defined(memProfiler): when defined(memProfiler):
proc nimProfile(requestedSize: int) proc nimProfile(requestedSize: int)
when hasThreadSupport:
import sharedlist
type type
WalkOp = enum WalkOp = enum