mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-23 21:14:31 +00:00
Kernel: Fix typo
This commit is contained in:
committed by
Andreas Kling
parent
caeb41d92b
commit
b5e5e43d4b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user