git/thread-utils.h

12 lines
209 B
C
Raw Normal View History

#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 */