This reverts commit ce4605013f.
ce4605013f
no more asm or get/setcontext hacks
sleeping is currently used to implement delays, in future it will also be used for I/O waiting.