Sign in
googlers
/
jrn
/
git
/
00eebe351c4b4626a7b8e0b2dc4b7a172f3fd8d9
/
.
/
thread-utils.h
blob: d9a769d19084587b397c50e9420843be38e89903 [
file
] [
log
] [
blame
]
#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 */