mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-10 04:52:14 -04:00
Fix sleep queue
This commit is contained in:
parent
7cf6ad6f13
commit
4098a96b70
@ -63,8 +63,10 @@ public:
|
||||
if(pid != scheduler::INVALID_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
|
||||
scheduler::unblock_process(pid);
|
||||
// Indicate to the scheduler that this process will be able to run
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user