1#ifndef THREAD_COMPAT_H 2#define THREAD_COMPAT_H 3 4#ifndef NO_PTHREADS 5#include <pthread.h> 6 7extern int online_cpus(void); 8extern int init_recursive_mutex(pthread_mutex_t*); 9 10#endif 11#endif /* THREAD_COMPAT_H */
#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 */