diff options
author | Ștefan Talpalaru <stefantalpalaru@yahoo.com> | 2019-05-20 09:29:13 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-20 09:29:13 +0200 |
commit | 13b3e4af8a419f39b139d716ae45acb51750e787 (patch) | |
tree | dbb0d40a49a2e1017c4380392c38197e8730952d /tests/parallel | |
parent | a63c2a25d0e2536abf68dfa4bb52974e3f9cf226 (diff) | |
download | Nim-13b3e4af8a419f39b139d716ae45acb51750e787.tar.gz |
fixes #11275 (#11276)
Diffstat (limited to 'tests/parallel')
-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) |