vibe-core/source/vibe
Sönke Ludwig f734b4a142 Improve thread-correctness of Task/TaskFiber.
- Task.join and Task.interrupt are now thread-safe
- TaskFiber.task returns Task.init if no task is running (avoids bogus resumes of the TaskFiber by the scheduler)

To enable thread-safe join/interrupt, the task counter is now stored together with the necessary flags within a single shared ulong that is manipulated atomically.
2019-04-13 20:53:01 +02:00
..
core Improve thread-correctness of Task/TaskFiber. 2019-04-13 20:53:01 +02:00
internal Make FixedRingBuffer compatible with non-copyable structs. 2019-01-14 22:15:38 +01:00
appmain.d Add appmain for backwards compatibility. 2016-11-04 21:34:01 +01:00