Rev 973 | Rev 1005 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 973 | Rev 998 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | struct task { |
38 | struct task { |
39 | SPINLOCK_DECLARE(lock); |
39 | SPINLOCK_DECLARE(lock); |
40 | link_t th_head; /**< List of threads contained in this task. */ |
40 | link_t th_head; /**< List of threads contained in this task. */ |
41 | link_t tasks_link; /**< Link to other tasks within the system. */ |
41 | link_t tasks_link; /**< Link to other tasks within the system. */ |
42 | as_t *as; /**< Address space. */ |
42 | as_t *as; /**< Address space. */ |
- | 43 | /* IPC stuff */ |
|
43 | answerbox_t answerbox; /**< Communication endpoint */ |
44 | answerbox_t answerbox; /**< Communication endpoint */ |
44 | phone_t phones[IPC_MAX_PHONES]; |
45 | phone_t phones[IPC_MAX_PHONES]; |
- | 46 | atomic_t active_calls; /**< Active asynchronous messages */ |
|
45 | }; |
47 | }; |
46 | 48 | ||
47 | extern spinlock_t tasks_lock; |
49 | extern spinlock_t tasks_lock; |
48 | extern link_t tasks_head; |
50 | extern link_t tasks_head; |
49 | 51 |