rt: Create new tasks through the current thread's scheduler
This commit is contained in:
parent
3d0e7a7af3
commit
bf250bec7c
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ get_task_id() {
|
|||
extern "C" CDECL rust_task_id
|
||||
new_task() {
|
||||
rust_task *task = rust_task_thread::get_task();
|
||||
return task->kernel->create_task(task, NULL);
|
||||
return task->sched->create_task(task, NULL);
|
||||
}
|
||||
|
||||
extern "C" CDECL void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue