Kernel: Scheduler can now block threads based on tid

This commit is contained in:
Bananymous
2023-07-24 22:24:21 +03:00
parent 57798e5d76
commit be47743dfa
2 changed files with 20 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ namespace Kernel
void block_current_thread(Semaphore*);
void unblock_threads(Semaphore*);
void unblock_thread(pid_t tid);
Thread& current_thread();
static pid_t current_tid();