1#ifndef THREAD_COMPAT_H
2#define THREAD_COMPAT_H
34
#ifndef NO_PTHREADS
5#include <pthread.h>
67
extern int online_cpus(void);
8extern int init_recursive_mutex(pthread_mutex_t*);
910
#else
1112
#define online_cpus() 1
1314
#endif
15#endif /* THREAD_COMPAT_H */