2008-02-23 03:11:56 +01:00
|
|
|
#ifndef THREAD_COMPAT_H
|
|
|
|
#define THREAD_COMPAT_H
|
|
|
|
|
2010-12-10 19:32:12 +01:00
|
|
|
#ifndef NO_PTHREADS
|
|
|
|
#include <pthread.h>
|
|
|
|
|
2008-02-23 03:11:56 +01:00
|
|
|
extern int online_cpus(void);
|
2010-04-08 09:15:39 +02:00
|
|
|
extern int init_recursive_mutex(pthread_mutex_t*);
|
2008-02-23 03:11:56 +01:00
|
|
|
|
2010-12-10 19:32:12 +01:00
|
|
|
#endif
|
2008-02-23 03:11:56 +01:00
|
|
|
#endif /* THREAD_COMPAT_H */
|