diff options
| author | ame <[email protected]> | 2025-06-20 20:34:18 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2025-06-20 20:34:18 -0500 |
| commit | 76495ea9809c256ebc216e7aa2954c4e0592fd1d (patch) | |
| tree | 4f6b08a23632659199ebcb16b198ecf0ede1f5d7 /src/thread.h | |
| parent | e058a29d70dd299b7fc2a84cae5824fd03fbef84 (diff) | |
thread.mutex
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 be9cadd..0b3a27d 100644 --- a/src/thread.h +++ b/src/thread.h @@ -6,6 +6,7 @@ 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*);
void lib_thread_clean();
@@ -17,6 +18,7 @@ static const luaL_Reg thread_function_list [] = { {"unlock",l_tunlock},
{"buffer",l_buffer},
{"testcopy",l_testcopy},
+ {"mutex", l_mutex},
{NULL,NULL}
};
|
