Re: Problem using "spawn"

2017-10-19 Thread Stefan_Salewski
Do you use the parallel statement at all as described in the manual? Or only a plain spawn? See [https://nim-lang.org/docs/manual.html#parallel-spawn](https://nim-lang.org/docs/manual.html#parallel-spawn) You may also need a FlowVar. I did test parallel once for calculation of a convex hull, se

Problem using "spawn"

2017-10-19 Thread jzakiya
OK, I've racked my brain enough and need help. Using 0.17.2 on Linux, I have this `proc` below. proc segcount(row, Kn: int): int = var cnt = 0 for k in 0..