https://github.com/git/git
Raw File
Tip revision: 6ebdac1bab966b720d776aa43ca188fe378b1f4b authored by Junio C Hamano on 02 September 2016, 16:05:47 UTC
Git 2.10
Tip revision: 6ebdac1
thread-utils.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*);

#else

#define online_cpus() 1

#endif
#endif /* THREAD_COMPAT_H */
back to top