1 #ifndef DIY_NO_THREAD_HPP
2 #define DIY_NO_THREAD_HPP
11 thread(
void (*f)(
void *),
void* args):
14 void join() { f_(args_); }
16 static unsigned hardware_concurrency() {
return 1; }
34 inline unsigned long int get_id() {
return 0; }
Definition: no-thread.hpp:23
Definition: no-thread.hpp:22
Definition: no-thread.hpp:24
Definition: no-thread.hpp:27
Definition: no-thread.hpp:9