Rev 177 | Rev 430 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 177 | Rev 410 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | #include <synch/spinlock.h> |
33 | #include <synch/spinlock.h> |
34 | #include <list.h> |
34 | #include <list.h> |
35 | 35 | ||
36 | struct task { |
36 | struct task { |
37 | spinlock_t lock; |
37 | spinlock_t lock; |
38 | link_t th_head; /* list of threads contained in this task */ |
38 | link_t th_head; /**< List of threads contained in this task. */ |
39 | link_t tasks_link; /* link to other tasks within the system */ |
39 | link_t tasks_link; /**< Link to other tasks within the system. */ |
40 | vm_t *vm; |
40 | vm_t *vm; |
41 | }; |
41 | }; |
42 | 42 | ||
43 | extern spinlock_t tasks_lock; |
43 | extern spinlock_t tasks_lock; |
44 | extern link_t tasks_head; |
44 | extern link_t tasks_head; |