Skip to content
Permalink
7b0d47b3b6
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (10 sloc) 241 Bytes
#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 */