Rev 1 | Rev 410 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 177 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __TASK_H__ |
29 | #ifndef __TASK_H__ |
30 | #define __TASK_H__ |
30 | #define __TASK_H__ |
31 | 31 | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
33 | #include <synch/spinlock.h> |
33 | #include <synch/spinlock.h> |
34 | #include <proc/thread.h> |
- | |
35 | #include <mm/vm.h> |
- | |
36 | #include <list.h> |
34 | #include <list.h> |
37 | 35 | ||
38 | struct task { |
36 | struct task { |
39 | spinlock_t lock; |
37 | spinlock_t lock; |
40 | link_t th_head; /* list of threads contained in this task */ |
38 | link_t th_head; /* list of threads contained in this task */ |