sched: task: implement task creation flags

This commit is contained in:
2026-04-30 19:06:46 +01:00
parent 562b856488
commit 02a44f67b9
5 changed files with 26 additions and 22 deletions
+3 -2
View File
@@ -40,9 +40,10 @@ struct task {
extern struct task *task_alloc(void);
extern struct task *task_cast(struct object *obj);
extern struct task *task_create(
struct task *parent,
task_flags_t flags,
const char *name,
size_t name_len,
struct handle_table *handles);
size_t name_len);
static inline struct task *task_ref(struct task *task)
{
return OBJECT_CAST(struct task, t_base, object_ref(&task->t_base));