From a0e9b343216b2062134b86521a74286e10703015 Mon Sep 17 00:00:00 2001 From: ame Date: Fri, 14 Nov 2025 02:06:22 -0600 Subject: sleep and thread fixes --- src/thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/thread.h') diff --git a/src/thread.h b/src/thread.h index 8061971..5b637d8 100644 --- a/src/thread.h +++ b/src/thread.h @@ -6,6 +6,7 @@ int l_buffer(lua_State*); int l_testcopy(lua_State*); int l_mutex(lua_State*); int l_usleep(lua_State*); +int l_sleep(lua_State*); void lib_thread_clean(); @@ -17,6 +18,7 @@ static const luaL_Reg thread_function_list [] = { {"testcopy",l_testcopy}, {"mutex", l_mutex}, {"usleep", l_usleep}, + {"sleep", l_sleep}, {NULL,NULL} }; -- cgit v1.2.3