blob: 714c49957d95b4f7d810b272e2c4a0d3e77e2d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "lua.h"
#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*);
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},
{NULL,NULL}
};
static struct config thread_config[] = {
{.type = c_none}
};
|