]> git.ipfire.org Git - thirdparty/git.git/blame - thread-utils.h
is_ntfs_dotgit(): only verify the leading segment
[thirdparty/git.git] / thread-utils.h
CommitLineData
833e3df1
AE
1#ifndef THREAD_COMPAT_H
2#define THREAD_COMPAT_H
3
b361888d
JH
4#ifndef NO_PTHREADS
5#include <pthread.h>
6
833e3df1 7extern int online_cpus(void);
93749194 8extern int init_recursive_mutex(pthread_mutex_t*);
833e3df1 9
0c45d258
JH
10#else
11
12#define online_cpus() 1
13
b361888d 14#endif
833e3df1 15#endif /* THREAD_COMPAT_H */