mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:45:10 +00:00
Kernel: Fix typo
This commit is contained in:
parent
caeb41d92b
commit
b5e5e43d4b
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ void Thread::die_if_needed()
|
|||
ScopedCritical critical;
|
||||
|
||||
// Flag a context switch. Because we're in a critical section,
|
||||
// Scheduler::yield will actually only mark a pending scontext switch
|
||||
// Scheduler::yield will actually only mark a pending context switch
|
||||
// Simply leaving the critical section would not necessarily trigger
|
||||
// a switch.
|
||||
Scheduler::yield();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue