Add a method for blocking threads on ports.
Additionally add the first lock class since we are becoming more concurrent.
This commit is contained in:
parent
b6735d3175
commit
6986f534f8
13 changed files with 88 additions and 14 deletions
|
|
@ -15,7 +15,7 @@ extern "C" void jump_user_space(uint64_t rip, uint64_t rsp, uint64_t arg1,
|
|||
|
||||
extern "C" void thread_init() {
|
||||
asm("sti");
|
||||
gScheduler->CurrentThread().Init();
|
||||
gScheduler->CurrentThread()->Init();
|
||||
panic("Reached end of thread.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue