lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great bil til once stated:
> One further point, which I do not really get from this github article
> / from looking at your main_async function:
> 
> Where does Lua exactly do the yielding between the different coroutines?

  In two functions:  trio.async_wait_task_rescheduled() and
trio.async_sleep().  This isn't a fully realized program but more of a
"proof-of-concept" (if I understand things correctly).

  -spc