]> pd.if.org Git - nbds/blob - include/runtime.h
add missing header file for txn
[nbds] / include / runtime.h
1 /* 
2  * Written by Josh Dybnis and released to the public domain, as explained at
3  * http://creativecommons.org/licenses/publicdomain
4  */
5 #ifndef THREADS_H
6 #define THREADS_H
7
8 void nbd_init (void);
9
10 int nbd_thread_create (pthread_t *restrict thread, int thread_id, void *(*start_routine)(void *), void *restrict arg);
11
12 void rcu_update (void);
13
14 #endif//THREADS_H