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.
This commit is contained in:
Bahadir Balban
2009-10-19 19:24:40 +03:00
parent cfa35e4a66
commit 62c4249d95
4 changed files with 54 additions and 33 deletions

View File

@@ -11,8 +11,7 @@ void thread_id_pool_init(void);
int thread_id_new(void);
int thread_id_del(int tid);
void thread_destroy_current(void);
int thread_destroy(struct task_ids *ids);
void thread_make_zombie(struct ktcb *task);
void task_destroy_current(void);
void task_make_zombie(struct ktcb *task);
#endif /* __THREAD_H__ */