Lines Matching refs:thread_t
42 struct thread_t { struct
52 thread_t* thread; argument
67 thread_t* thread_new_sized(const char* name, size_t work_queue_capacity) { in thread_new_sized()
71 thread_t* ret = static_cast<thread_t*>(osi_calloc(sizeof(thread_t))); in thread_new_sized()
104 thread_t* thread_new(const char* name) { in thread_new()
108 void thread_free(thread_t* thread) { in thread_free()
119 void thread_join(thread_t* thread) { in thread_join()
126 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
143 void thread_stop(thread_t* thread) { in thread_stop()
148 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
162 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
179 bool thread_is_self(const thread_t* thread) { in thread_is_self()
184 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
189 const char* thread_name(const thread_t* thread) { in thread_name()
198 thread_t* thread = start->thread; in run_thread()