mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
Kernel: Use IntrusiveList to make WaitQueue allocation-free :^)
This commit is contained in:
parent
96cfddb3ac
commit
f4978b2be1
Notes:
sideshowbarker
2024-07-19 10:46:20 +09:00
Author: https://github.com/awesomekling
Commit: f4978b2be1
4 changed files with 30 additions and 26 deletions
|
@ -12,7 +12,7 @@ WaitQueue::~WaitQueue()
|
|||
void WaitQueue::enqueue(Thread& thread)
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
m_threads.append(&thread);
|
||||
m_threads.append(thread);
|
||||
}
|
||||
|
||||
void WaitQueue::wake_one()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue