thread.c File Reference

Thread management functions. More...

Include dependency graph for thread.c:

Go to the source code of this file.

Functions

 SPINLOCK_INITIALIZE (threads_lock)
 SPINLOCK_INITIALIZE (tidlock)
static void cushion (void)
static int thr_constructor (void *obj, int kmflags)
static int thr_destructor (void *obj)
void thread_init (void)
void thread_ready (thread_t *t)
void thread_destroy (thread_t *t)
thread_tthread_create (void(*func)(void *), void *arg, task_t *task, int flags, char *name)
void thread_exit (void) __attribute__((noreturn))
void thread_sleep (__u32 sec)
int thread_join_timeout (thread_t *t, __u32 usec, int flags)
void thread_detach (thread_t *t)
void thread_usleep (__u32 usec)
void thread_register_call_me (void(*call_me)(void *), void *call_me_with)
void thread_print_list (void)
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 []
btree_t threads_btree
__u32 last_tid = 0
static slab_cache_tthread_slab


Detailed Description

Definition in file thread.c.


Generated on Sun Jun 18 17:30:19 2006 for HelenOS Kernel (ppc64) by  doxygen 1.4.6