You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I see references to thread continuations in the coroutine lib but I'm not really sure about what we need to consider if we make our own concurrent libraries. Let's say we call lua_resume: Do we need to get the lua_callbacks and invoke the break handler if the resume returns LUA_BREAK? When exactly does a continuation run and what situations is it supposed to handle?
I couldn't find any resources on this extension anywhere else, but if there's any existing documentation on it that I just missed during my search I would really appreciate it if someone could link it for me :)
P.S. If someone could also write about it in #251 that would be very much loved
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I see references to thread continuations in the coroutine lib but I'm not really sure about what we need to consider if we make our own concurrent libraries. Let's say we call
lua_resume
: Do we need to get thelua_callbacks
and invoke the break handler if the resume returnsLUA_BREAK
? When exactly does a continuation run and what situations is it supposed to handle?I couldn't find any resources on this extension anywhere else, but if there's any existing documentation on it that I just missed during my search I would really appreciate it if someone could link it for me :)
P.S. If someone could also write about it in #251 that would be very much loved
Beta Was this translation helpful? Give feedback.
All reactions