Staging
v0.5.1
https://github.com/git/git
Revision c6c75c93aaeb97bab6fd25b672a641c84dd85d59 authored by Junio C Hamano on 11 January 2018, 21:20:41 UTC, committed by Junio C Hamano on 11 January 2018, 21:20:41 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ba82fda
Raw File
Tip revision: c6c75c93aaeb97bab6fd25b672a641c84dd85d59 authored by Junio C Hamano on 11 January 2018, 21:20:41 UTC
Git 2.16-rc2
Tip revision: c6c75c9
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