Lines Matching refs:thread_t
27 typedef struct thread_t thread_t; typedef
35 thread_t *thread_new(const char *name);
38 thread_t *thread_new_sized(const char *name, size_t size);
43 void thread_free(thread_t *thread);
48 void thread_join(thread_t *thread);
55 bool thread_post(thread_t *thread, thread_fn func, void *context);
60 void thread_stop(thread_t *thread);
65 bool thread_set_priority(thread_t *thread, int priority);
69 bool thread_is_self(const thread_t *thread);
72 reactor_t *thread_get_reactor(const thread_t *thread);
75 const char *thread_name(const thread_t *thread);