Resets a thread
Cleaning its call stack and closing all pending to-be-closed variables.
Lua state
LUA_OK for no errors in closing methods, or an error status otherwise.
Note: In case of error, leaves the error object on the top of the stack.
riverd.lua.types.lua_State
See Implementation
Resets a thread
Cleaning its call stack and closing all pending to-be-closed variables.