aboutsummaryrefslogtreecommitdiff
path: root/src/reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reg.c')
-rw-r--r--src/reg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reg.c b/src/reg.c
index a364813..966537f 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -5,6 +5,7 @@
#include "io.h"
#include "math.h"
#include "net.h"
+#include "thread.h"
#include <signal.h>
#include <stdlib.h>
@@ -44,6 +45,7 @@ int luaopen_llib(lua_State* L) {
lreg("math", math_function_list);
lreg("config", config_function_list);
lreg("net", net_function_list);
+ lreg("thread", thread_function_list);
//make llib global
lua_setglobal(L, "llib");