Merge branch 'master' of github.com:Araq/Nimrod

This commit is contained in:
Araq 2012-11-05 19:49:19 +01:00
commit 43cdf49472
6 changed files with 58 additions and 42 deletions

View file

@ -309,7 +309,7 @@ proc joinThread*[TArg](t: TThread[TArg]) {.inline.} =
else:
discard pthread_join(t.sys, nil)
proc joinThreads*[TArg](t: openArray[TThread[TArg]]) =
proc joinThreads*[TArg](t: varargs[TThread[TArg]]) =
## waits for every thread in `t` to finish.
when hostOS == "windows":
var a: array[0..255, TSysThread]