diff options
author | Alexis211 <alexis211@gmail.com> | 2010-08-10 21:38:26 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-08-10 21:38:26 +0200 |
commit | c7c2e36c2bb2cf7302f60a70e0ede0490f98b05e (patch) | |
tree | 8acfea69561a69f7af8cecec74ec327846a76743 /src/kernel/task/task.h | |
parent | 73db7abddad13d41e67f41431c4ad92c4f364d3c (diff) | |
download | TCE-c7c2e36c2bb2cf7302f60a70e0ede0490f98b05e.tar.gz TCE-c7c2e36c2bb2cf7302f60a70e0ede0490f98b05e.zip |
No more global list of threads, one list of threads per process.
Diffstat (limited to 'src/kernel/task/task.h')
-rw-r--r-- | src/kernel/task/task.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/task/task.h b/src/kernel/task/task.h index a664258..0a95e57 100644 --- a/src/kernel/task/task.h +++ b/src/kernel/task/task.h @@ -23,7 +23,7 @@ typedef void (*thread_entry)(void*); struct process { - uint32_t pid, uid, privilege, threads; + uint32_t pid, uid, privilege, thread_count; struct process *parent; struct page_directory *pagedir; size_t stacksBottom; @@ -34,6 +34,7 @@ struct process { struct segment_map *heapseg; struct process *next; //Forms a linked list + struct thread *threads; }; struct thread { |