mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Renamed so that task_* gets a ktcb directly, and thread_* line of calls make the search for the ktcb.
18 lines
342 B
C
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__ */
|