Kernel: Scheduler::unblock_thread() wakes sleeping threads

This commit is contained in:
2023-12-06 16:12:37 +02:00
parent 976ae64f88
commit 534969df32
2 changed files with 18 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ namespace Kernel
void block_current_thread(Semaphore*);
void unblock_threads(Semaphore*);
// Makes sleeping or blocked thread with tid active.
void unblock_thread(pid_t tid);
Thread& current_thread();