mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
Kernel: Use IntrusiveList to make WaitQueue allocation-free :^)
This commit is contained in:
parent
96cfddb3ac
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