X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=runtime%2Frlocal.h;fp=runtime%2Frlocal.h;h=4828c6eead11e6c23fd9f2eabbb6182dc9f8b208;hp=0000000000000000000000000000000000000000;hb=d791fc64b23a9c0a3ed90aa60571344d7735aee9;hpb=b21e1c182a2e469240d2b1cbbda37f2dfeb880d9 diff --git a/runtime/rlocal.h b/runtime/rlocal.h new file mode 100644 index 0000000..4828c6e --- /dev/null +++ b/runtime/rlocal.h @@ -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