summaryrefslogtreecommitdiff
path: root/thread-utils.h
blob: 6fb98c333c22a67512516bbf047c2cac270a66ae (plain)
1
2
3
4
5
6
7
8
9
10
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 */