mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
Kernel: Fix typo
This commit is contained in:
parent
caeb41d92b
commit
b5e5e43d4b
Notes:
sideshowbarker
2024-07-18 22:23:24 +09:00
Author: https://github.com/BenWiederhake
Commit: b5e5e43d4b
Pull-request: https://github.com/SerenityOS/serenity/pull/5294
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