diff options
-rwxr-xr-x | lib/system/threads.nim | 2 | ||||
-rwxr-xr-x | todo.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim index 60643b526..39e5d3908 100755 --- a/lib/system/threads.nim +++ b/lib/system/threads.nim @@ -306,7 +306,7 @@ else: proc running*[TMsg](t: TThread[TMsg]): bool {.inline.} = ## returns true if `t` is running. - result = t.emptyFn == nil and t.dataFn == nil + result = t.emptyFn != nil or t.dataFn != nil proc joinThread*[TMsg](t: TThread[TMsg]) {.inline.} = ## waits for the thread `t` to finish. diff --git a/todo.txt b/todo.txt index bc37ced38..d3babb963 100755 --- a/todo.txt +++ b/todo.txt @@ -1,7 +1,7 @@ Version 0.8.14 ============== -- test ``m*`` for generics +- fix ``m*`` for generics - optional indentation for 'case' statement - make threadvar efficient again on linux after testing - test the sort implementation again |