Commit Graph

4 Commits

Author SHA1 Message Date
Andreas Rumpf
3ffde39cf4 attempt to make travis OSX tests green and mandatory 2017-03-29 10:14:03 +02:00
Rokas Kupstys
cd2721242a Fix waiting on coroutines (#5463)
Public coroutine API returns a safe reference to specific running coroutine. Fixes bug where multiple coroutines executing same procedure would identify as same coroutine.
Greatly optimizes `alive()` (and as a result of that `wait()`) calls.
Coroutine struct is allocated together with stack as memory unmanaged by GC.
2017-03-02 14:53:50 +01:00
Rokas Kupstys
9df0000621 Proper use of sequences in coroutine tests 2017-02-24 10:51:54 +02:00
Rokas Kupstys
5aef77a3d3 Removed test code from coro.nim and created three real tests for coroutines 2017-02-20 17:54:15 +02:00