mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 16:42:19 +02:00
Kernel: When a lock is busy, donate remaining process ticks to lock holder.
Since we know who's holding the lock, and we're gonna have to yield anyway, we can just ask the scheduler to donate any remaining ticks to that process.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 15:50:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5582a0a254c
@@ -11,6 +11,7 @@ RetainPtr<SynthFS> SynthFS::create()
|
||||
}
|
||||
|
||||
SynthFS::SynthFS()
|
||||
: m_lock("SynthFS")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user