mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 03:58:12 +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;
|
ScopedCritical critical;
|
||||||
|
|
||||||
// Flag a context switch. Because we're in a critical section,
|
// 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
|
// Simply leaving the critical section would not necessarily trigger
|
||||||
// a switch.
|
// a switch.
|
||||||
Scheduler::yield();
|
Scheduler::yield();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue