Module fiber
greenie
Fiber objects are lightweight microthreads which are cooperatively scheduled. Only one can run at a given time and the Fiber::yield() or yield_thread functions must be used to switch execution from one fiber to another.
Fiber::yield()
yield_thread