diff options
| author | ame <[email protected]> | 2025-11-14 02:06:22 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2025-11-14 02:06:22 -0600 |
| commit | a0e9b343216b2062134b86521a74286e10703015 (patch) | |
| tree | 62571f63c0e2773c719b9f4de8d9b583468789ac /src/thread.h | |
| parent | 5d88c4a2b80060290467d84033082f3af0c333b2 (diff) | |
sleep and thread fixes
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
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}
};
|
