Include dependency graph for thread.h:

Go to the source code of this file.
Data Structures | |
| struct | thread |
Defines | |
| #define | THREAD_STACK_SIZE STACK_SIZE |
| #define | X_WIRED (1<<0) |
| #define | X_STOLEN (1<<1) |
| #define | THREAD_NAME_BUFLEN 20 |
| #define | thread_join(t) thread_join_timeout((t), SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE) |
Enumerations | |
| enum | state { Invalid, Running, Sleeping, Ready, Entering, Exiting, Undead } |
| enum | thread_join_type_t { None, TaskClnp, TaskGC } |
Functions | |
| void | thread_init (void) |
| thread_t * | thread_create (void(*func)(void *), void *arg, task_t *task, int flags, char *name) |
| void | thread_ready (thread_t *t) |
| void | thread_exit (void) __attribute__((noreturn)) |
| void | thread_create_arch (thread_t *t) |
| void | thread_sleep (__u32 sec) |
| void | thread_usleep (__u32 usec) |
| int | thread_join_timeout (thread_t *t, __u32 usec, int flags) |
| void | thread_detach (thread_t *t) |
| void | thread_register_call_me (void(*call_me)(void *), void *call_me_with) |
| void | thread_print_list (void) |
| void | thread_destroy (thread_t *t) |
| bool | thread_exists (thread_t *t) |
| __native | sys_thread_create (uspace_arg_t *uspace_uarg, char *uspace_name) |
| __native | sys_thread_exit (int uspace_status) |
Variables | |
| char * | thread_states [] |
| spinlock_t | threads_lock |
| btree_t | threads_btree |
| slab_cache_t * | fpu_context_slab |
Definition in file thread.h.
1.4.6