sched: task: implement task creation flags
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user