Rev 534 | Rev 703 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 623 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
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_DECLARE(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 |