summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2012-11-04 22:30:19 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2012-11-04 22:30:19 +0000
commit76c4b0516a3e3db0ca32903f216230b2fcd48c07 (patch)
treeca5ebf6fb9de2a0628bb6f3e0755407278abe5f3 /lib/system
parent42c8fd1fe2e8a045741c18cd02f9410cb7a990f8 (diff)
downloadNim-76c4b0516a3e3db0ca32903f216230b2fcd48c07.tar.gz
Many doc improvements. Changed Threads.joinThreads' param's type to varargs.
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/threads.nim2
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]