From ef6a27fe848d160d46f730abdf2e013f6b2b5621 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 4 Dec 2013 09:15:09 -0800 Subject: [PATCH] feat(util/script_state): add join method to Lua threads Signed-off-by: Leonardo de Moura --- src/util/script_state.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/script_state.cpp b/src/util/script_state.cpp index 949ae31a5a..4a6a84da91 100644 --- a/src/util/script_state.cpp +++ b/src/util/script_state.cpp @@ -525,6 +525,7 @@ int thread_wait(lua_State * L) { static const struct luaL_Reg thread_m[] = { {"__gc", thread_gc}, {"wait", safe_function}, + {"join", safe_function}, {"interrupt", safe_function}, {"write", safe_function}, {"read", safe_function},