mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-12 22:17:11 -04:00
Fix sleep queue
This commit is contained in:
parent
7cf6ad6f13
commit
4098a96b70
@ -64,7 +64,9 @@ public:
|
|||||||
logging::logf(logging::log_level::TRACE, "sleep_queue: wake %d\n", pid);
|
logging::logf(logging::log_level::TRACE, "sleep_queue: wake %d\n", pid);
|
||||||
|
|
||||||
// Indicate to the scheduler that this process will be able to run
|
// Indicate to the scheduler that this process will be able to run
|
||||||
scheduler::unblock_process(pid);
|
// We use a hint here because it is possible that the thread was
|
||||||
|
// already woken up from sleep
|
||||||
|
scheduler::unblock_process_hint(pid);
|
||||||
|
|
||||||
return pid;
|
return pid;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user