merged things from devel

This commit is contained in:
Araq 2014-09-12 01:37:48 +02:00
commit 9d9c3fe121
14 changed files with 110 additions and 48 deletions

View file

@ -354,7 +354,6 @@ when hostOS == "windows":
addr(t), 0'i32, dummyThreadId)
if t.sys <= 0:
raise newException(ResourceExhaustedError, "cannot create thread")
else:
proc createThread*[TArg](t: var TThread[TArg],
tp: proc (arg: TArg) {.thread.},