]> pd.if.org Git - nbds/blob - include/runtime.h
change the names of some variables and types for consistency across API's
[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 int nbd_thread_create (pthread_t *restrict thread, int thread_id, void *(*start_routine)(void *), void *restrict arg);
10 int nbd_rand (void);
11 void rcu_update (void);
12
13 #endif//THREADS_H