mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00: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:
@@ -11,6 +11,7 @@ RetainPtr<SynthFS> SynthFS::create()
|
||||
}
|
||||
|
||||
SynthFS::SynthFS()
|
||||
: m_lock("SynthFS")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user