]> pd.if.org Git - nbds/blobdiff - runtime/rlocal.h
separate out strings handling code into it own file
[nbds] / runtime / rlocal.h
diff --git a/runtime/rlocal.h b/runtime/rlocal.h
new file mode 100644 (file)
index 0000000..4828c6e
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef RLOCAL_H
+#define RLOCAL_H
+#include "tls.h"
+DECLARE_THREAD_LOCAL(tid_, int);
+
+void mem_init (void);
+
+void rcu_thread_init (int thread_id);
+void lwt_thread_init (int thread_id);
+#endif//RLOCAL_H