Changeset 7f6e755 in mainline for generic/include/proc/task.h


Ignore:
Timestamp:
2006-04-09T15:33:38Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
602c9101
Parents:
016acbe
Message:

Replace list of all tasks with B+tree of all tasks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/task.h

    r016acbe r7f6e755  
    3232#include <typedefs.h>
    3333#include <synch/spinlock.h>
     34#include <adt/btree.h>
    3435#include <adt/list.h>
    3536#include <ipc/ipc.h>
     
    4041        char *name;
    4142        link_t th_head;         /**< List of threads contained in this task. */
    42         link_t tasks_link;      /**< Link to other tasks within the system. */
    4343        as_t *as;               /**< Address space. */
    44         task_id_t taskid;           /**< Unique identity of task */
     44        task_id_t taskid;       /**< Unique identity of task */
    4545
    4646        /* IPC stuff */
     
    5151
    5252extern spinlock_t tasks_lock;
    53 extern link_t tasks_head;
     53extern btree_t tasks_btree;
    5454
    5555extern void task_init(void);
Note: See TracChangeset for help on using the changeset viewer.