aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/include/thread.h')
-rw-r--r--src/kernel/include/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/include/thread.h b/src/kernel/include/thread.h
index 698c4c6..fbcc178 100644
--- a/src/kernel/include/thread.h
+++ b/src/kernel/include/thread.h
@@ -36,6 +36,10 @@ typedef struct thread {
struct thread *next_in_queue;
struct thread *next_in_proc;
+ void** waiting_on;
+ int n_waiting_on;
+ struct thread *next_waiter;
+
bool must_exit;
} thread_t;