diff options
Diffstat (limited to 'thread-utils.h')
-rw-r--r-- | thread-utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/thread-utils.h b/thread-utils.h new file mode 100644 index 0000000000..6fb98c333c --- /dev/null +++ b/thread-utils.h @@ -0,0 +1,11 @@ +#ifndef THREAD_COMPAT_H +#define THREAD_COMPAT_H + +#ifndef NO_PTHREADS +#include <pthread.h> + +extern int online_cpus(void); +extern int init_recursive_mutex(pthread_mutex_t*); + +#endif +#endif /* THREAD_COMPAT_H */ |