repo.or.cz
/
git
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'jc/decorate-leaky-separator-color' into HEAD
[git/mjg.git]
/
thread-utils.h
blob
d9a769d19084587b397c50e9420843be38e89903
1
#ifndef THREAD_COMPAT_H
2
#define THREAD_COMPAT_H
3
4
#ifndef NO_PTHREADS
5
#include <pthread.h>
6
7
extern
int
online_cpus
(
void
);
8
extern
int
init_recursive_mutex
(
pthread_mutex_t
*);
9
10
#else
11
12
#define online_cpus() 1
13
14
#endif
15
#endif
/* THREAD_COMPAT_H */