Rev 1583 | Rev 1587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1583 | Rev 1585 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | * Must be acquired before threads_lock and thread lock of any of its threads. |
46 | * Must be acquired before threads_lock and thread lock of any of its threads. |
47 | */ |
47 | */ |
48 | SPINLOCK_DECLARE(lock); |
48 | SPINLOCK_DECLARE(lock); |
49 | 49 | ||
50 | char *name; |
50 | char *name; |
- | 51 | thread_t *main_thread; /**< Pointer to the main thread. */ |
|
51 | link_t th_head; /**< List of threads contained in this task. */ |
52 | link_t th_head; /**< List of threads contained in this task. */ |
52 | as_t *as; /**< Address space. */ |
53 | as_t *as; /**< Address space. */ |
53 | task_id_t taskid; /**< Unique identity of task */ |
54 | task_id_t taskid; /**< Unique identity of task */ |
54 | 55 | ||
55 | /** If this is true, new threads can become part of the task. */ |
56 | /** If this is true, new threads can become part of the task. */ |