diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2012-11-04 22:30:19 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2012-11-04 22:30:19 +0000 |
commit | 76c4b0516a3e3db0ca32903f216230b2fcd48c07 (patch) | |
tree | ca5ebf6fb9de2a0628bb6f3e0755407278abe5f3 /lib/system | |
parent | 42c8fd1fe2e8a045741c18cd02f9410cb7a990f8 (diff) | |
download | Nim-76c4b0516a3e3db0ca32903f216230b2fcd48c07.tar.gz |
Many doc improvements. Changed Threads.joinThreads' param's type to varargs.
Diffstat (limited to 'lib/system')
-rwxr-xr-x | lib/system/threads.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim index 935f0433b..aba3bb275 100755 --- a/lib/system/threads.nim +++ b/lib/system/threads.nim @@ -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] |