Kernel: Allow initial binding of threads to specific processor

This commit is contained in:
2024-09-24 16:27:40 +03:00
parent 348d04f7f5
commit f0e55938c1
2 changed files with 22 additions and 8 deletions

View File

@@ -82,6 +82,8 @@ namespace Kernel
void timer_interrupt();
static BAN::ErrorOr<void> bind_thread_to_processor(Thread*, ProcessorID);
// if thread is already bound, this will never fail
BAN::ErrorOr<void> add_thread(Thread*);
void block_current_thread(ThreadBlocker* thread_blocker, uint64_t wake_time_ns);