Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 12 lines (8 sloc) 0.209 kB
833e3df @ageric pack-objects: Add runtime detection of online CPU's
ageric authored
1 #ifndef THREAD_COMPAT_H
2 #define THREAD_COMPAT_H
3
b361888 @gitster thread-utils.h: simplify the inclusion
gitster authored
4 #ifndef NO_PTHREADS
5 #include <pthread.h>
6
833e3df @ageric pack-objects: Add runtime detection of online CPU's
ageric authored
7 extern int online_cpus(void);
9374919 Thread-safe xmalloc and xrealloc needs a recursive mutex
Johannes Sixt authored
8 extern int init_recursive_mutex(pthread_mutex_t*);
833e3df @ageric pack-objects: Add runtime detection of online CPU's
ageric authored
9
b361888 @gitster thread-utils.h: simplify the inclusion
gitster authored
10 #endif
833e3df @ageric pack-objects: Add runtime detection of online CPU's
ageric authored
11 #endif /* THREAD_COMPAT_H */
Something went wrong with that request. Please try again.