Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, quite the contrary: coroutines only yield explicitly, due to a call to coroutine.yield(). They let you control your scheduling deterministically (although multitasking is far from being their only use)


Note that GP didn't mention the means in which the yielding was to be invoked.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: