More work on thread scheduling and tracebacks

This commit is contained in:
2021-02-20 19:17:20 -05:00
parent 36ff4eacae
commit 5f783e643b
7 changed files with 44 additions and 30 deletions

View File

@@ -15,10 +15,10 @@
// traceback_coroutine
//
// Given a coroutine which contains an error message, pop the error
// message from the coroutine, and push a traceback onto L.
// Given a coroutine which contains an error message, replace
// the error message with a full traceback. Always returns 1.
//
void traceback_coroutine(lua_State *L, lua_State *CO);
int traceback_coroutine(lua_State *L);
// traceback_pcall
//