summaryrefslogtreecommitdiff
path: root/src/kernel/task/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task/task.h')
-rw-r--r--src/kernel/task/task.h3
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 {