summaryrefslogtreecommitdiff
path: root/src/kernel/task.h
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-03-03 23:47:26 -0500
committerBenji Dial <benji6283@gmail.com>2021-03-03 23:47:26 -0500
commit2fc768319887945c5c6beafcd21d29d9884cd48a (patch)
tree9dadaf32069588c23e755228099669557449304f /src/kernel/task.h
parent81df4702c424f91cca5570ab2554d1d4cbae534d (diff)
downloadportland-os-2fc768319887945c5c6beafcd21d29d9884cd48a.tar.gz
moving windows with mouse, changing some old panics into syslogs, small bugfix in knob files, "send to back" wm keybinding
Diffstat (limited to 'src/kernel/task.h')
-rw-r--r--src/kernel/task.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/task.h b/src/kernel/task.h
index 643c88e..ca8e2b7 100644
--- a/src/kernel/task.h
+++ b/src/kernel/task.h
@@ -52,7 +52,8 @@ extern struct task_state *active_task;
void init_tasks();
//puts the handle into ecx
-uint32_t new_task(struct task_state state);
+//returns null on full
+struct task_state *new_task();
void advance_active_task();
void delete_task(struct task_state *state);