Staging
v0.5.1
https://github.com/git/git
Revision 441c4a40173fe1ee8a5c0094e587dfc47e2a6460 authored by Junio C Hamano on 04 September 2015, 17:25:47 UTC, committed by Junio C Hamano on 04 September 2015, 17:26:23 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f54cb05
Raw File
Tip revision: 441c4a40173fe1ee8a5c0094e587dfc47e2a6460 authored by Junio C Hamano on 04 September 2015, 17:25:47 UTC
Git 2.2.3
Tip revision: 441c4a4
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