#include "threadsafe.h"#include "common/wave_ex.h"#include "perf/perf.h"#include "threadsafe/smart_mutex.h"
Go to the source code of this file.
Functions | |
| int | createThread (IN thread_start_fn_t start_fn, IN void *context, OUT thread_id_t &threadId) |
| thread_id_t | getCurrentThreadId (void) |
| void | sleepMilliseconds (IN long milliseconds) |
| implement a cross-platform sleep method | |
| int createThread | ( | IN thread_start_fn_t | start_fn, | |
| IN void * | context, | |||
| OUT thread_id_t & | threadId | |||
| ) |
Definition at line 91 of file threadsafe.cpp.
| thread_id_t getCurrentThreadId | ( | void | ) |
Definition at line 140 of file threadsafe.cpp.
| void sleepMilliseconds | ( | IN long | milliseconds | ) |
implement a cross-platform sleep method
Definition at line 155 of file threadsafe.cpp.
1.7.1