pub fn close_thread(state: &mut LuaState, from: Option<&LuaState>) -> i32Expand description
Close a coroutine thread from the perspective of another thread.
// int status;
// lua_lock(L);
// L->nCcalls = (from) ? getCcalls(from) : 0;
// status = luaE_resetthread(L, L->status);
// lua_unlock(L);
// return status;
// }