Staging
v0.5.1
https://github.com/git/git
Revision 8c8e978f5719c6a58fb998742207bf907f963143 authored by Junio C Hamano on 24 June 2017, 22:31:36 UTC, committed by Junio C Hamano on 24 June 2017, 22:31:36 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 8992def
Raw File
Tip revision: 8c8e978f5719c6a58fb998742207bf907f963143 authored by Junio C Hamano on 24 June 2017, 22:31:36 UTC
Git 2.13.2
Tip revision: 8c8e978
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