thread-utils.hon commit Merge branch 'ag/rebase-i-in-c' into js/rebase-in-c-5.5-work-with-rebase-i-in-c (5ab7e0f)
   1#ifndef THREAD_COMPAT_H
   2#define THREAD_COMPAT_H
   3
   4#ifndef NO_PTHREADS
   5#include <pthread.h>
   6
   7extern int online_cpus(void);
   8extern int init_recursive_mutex(pthread_mutex_t*);
   9
  10#else
  11
  12#define online_cpus() 1
  13
  14#endif
  15#endif /* THREAD_COMPAT_H */