Removed thread group id pool.

We don't need a separate group id pool for now.
This commit is contained in:
Bahadir Balban
2009-05-11 12:21:08 +03:00
parent 1b04037034
commit db0d756dfa
3 changed files with 1 additions and 4 deletions

View File

@@ -130,7 +130,6 @@ static inline void set_task_ids(struct ktcb *task, struct task_ids *ids)
extern struct id_pool *thread_id_pool;
extern struct id_pool *space_id_pool;
extern struct id_pool *tgroup_id_pool;
struct ktcb *tcb_find(l4id_t tid);
struct ktcb *tcb_find_by_space(l4id_t tid);

View File

@@ -17,7 +17,6 @@
/* ID pools for threads and spaces. */
struct id_pool *thread_id_pool;
struct id_pool *space_id_pool;
struct id_pool *tgroup_id_pool;
/* Hash table for all existing tasks */
struct ktcb_list {

View File

@@ -337,10 +337,9 @@ void init_tasks()
/* Initialise thread and space id pools */
thread_id_pool = id_pool_new_init(THREAD_IDS_MAX);
space_id_pool = id_pool_new_init(SPACE_IDS_MAX);
tgroup_id_pool = id_pool_new_init(TGROUP_IDS_MAX);
ids.tid = id_new(thread_id_pool);
ids.spid = id_new(space_id_pool);
ids.tgid = id_new(tgroup_id_pool);
ids.tgid = ids.tid;
/* Initialise the global task and address space lists */
init_ktcb_list();