summaryrefslogtreecommitdiff
path: root/kc/core/task.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-14 16:13:23 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-14 16:22:54 +0000
commite024c54be1b94093171eb4182c5fc21db5b2d7e2 (patch)
tree9125564493b48f0562da484c628e02730e581cc6 /kc/core/task.h
parentf020142891decdf63e5908b4756bcaad9b0f5f7e (diff)
more task scheduling work, scheduler appears to work without crashing
Diffstat (limited to 'kc/core/task.h')
-rw-r--r--kc/core/task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kc/core/task.h b/kc/core/task.h
index e9ddaaf..346630a 100644
--- a/kc/core/task.h
+++ b/kc/core/task.h
@@ -22,6 +22,7 @@ struct kc_thread
{
struct kc_thread *prev;
struct kc_thread *next;
+ uint64_t time_elapsed;
enum kc_thread_status status;
struct kc_thread_state state;
};