blob: 5b637d8d5c8d0caa0f08c3256d51f9a2f48d995a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "lua.h"
#include "config.h"
int l_async(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();
#define clean_lullaby_thread luaI_nothing
static const luaL_Reg thread_function_list [] = {
{"async",l_async},
{"buffer",l_buffer},
{"testcopy",l_testcopy},
{"mutex", l_mutex},
{"usleep", l_usleep},
{"sleep", l_sleep},
{NULL,NULL}
};
static struct config thread_config[] = {
{.type = c_none}
};
|