]> pd.if.org Git - nbds/blob - runtime/runtime_local.h
Fix initialization ordering problem from last commit.
[nbds] / runtime / runtime_local.h
1 #ifndef RUNTIME_LOCAL_H
2 #define RUNTIME_LOCAL_H
3 #include "tls.h"
4 DECLARE_THREAD_LOCAL(tid_, int);
5
6 void mem_init (void);
7
8 void rcu_thread_init (int thread_id);
9 void lwt_thread_init (int thread_id);
10 #endif//RUNTIME_LOCAL_H