https://github.com/git/git
Raw File
Tip revision: ecad27cf98c391d5cfdc26ce0e442e02347baad0 authored by Junio C Hamano on 04 September 2015, 17:31:34 UTC
Git 2.3.9
Tip revision: ecad27c
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