diff options
Diffstat (limited to 'src/thread.h')
| -rw-r--r-- | src/thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/thread.h b/src/thread.h index 0b3a27d..5b637d8 100644 --- a/src/thread.h +++ b/src/thread.h @@ -2,11 +2,11 @@ #include "config.h"
int l_async(lua_State*);
-int l_tlock(lua_State*);
-int l_tunlock(lua_State*);
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();
@@ -14,11 +14,11 @@ void lib_thread_clean(); static const luaL_Reg thread_function_list [] = {
{"async",l_async},
- {"lock",l_tlock},
- {"unlock",l_tunlock},
{"buffer",l_buffer},
{"testcopy",l_testcopy},
{"mutex", l_mutex},
+ {"usleep", l_usleep},
+ {"sleep", l_sleep},
{NULL,NULL}
};
|
