feat(util/script_state): add join method to Lua threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
def186a9cd
commit
ef6a27fe84
1 changed files with 1 additions and 0 deletions
|
@ -525,6 +525,7 @@ int thread_wait(lua_State * L) {
|
|||
static const struct luaL_Reg thread_m[] = {
|
||||
{"__gc", thread_gc},
|
||||
{"wait", safe_function<thread_wait>},
|
||||
{"join", safe_function<thread_wait>},
|
||||
{"interrupt", safe_function<thread_interrupt>},
|
||||
{"write", safe_function<thread_write>},
|
||||
{"read", safe_function<thread_read>},
|
||||
|
|
Loading…
Reference in a new issue