Files
codezero/include/l4/generic/thread.h
Bahadir Balban 62c4249d95 Renamed many thread_* line of calls.
Renamed so that task_* gets a ktcb directly, and thread_* line of
calls make the search for the ktcb.
2009-10-19 19:24:40 +03:00

18 lines
342 B
C

/*
* Copyright (C) 2007 Bahadir Balban
*/
#ifndef __THREAD_H__
#define __THREAD_H__
#include <l4/generic/tcb.h>
/* Thread id creation and deleting */
void thread_id_pool_init(void);
int thread_id_new(void);
int thread_id_del(int tid);
void task_destroy_current(void);
void task_make_zombie(struct ktcb *task);
#endif /* __THREAD_H__ */