diff options
Diffstat (limited to 'tests/parallel/tconvexhull.nim')
-rw-r--r-- | tests/parallel/tconvexhull.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/parallel/tconvexhull.nim b/tests/parallel/tconvexhull.nim index cc01b5c78..184a131a2 100644 --- a/tests/parallel/tconvexhull.nim +++ b/tests/parallel/tconvexhull.nim @@ -52,6 +52,8 @@ proc convex_hull[T](points: var seq[T], cmp: proc(x, y: T): int {.closure.}) : s result = concat(^ul[0], ^ul[1]) var s = map(toSeq(0..99999), proc(x: int): Point = (float(x div 1000), float(x mod 1000))) +# On some runs, this pool size reduction will set the "shutdown" attribute on the +# worker thread that executes our spawned task, before we can read the flowvars. setMaxPoolSize 2 #echo convex_hull[Point](s, cmpPoint) |