1
0
Fork 0
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:
Andreas Kling 2019-12-22 12:23:44 +01:00
parent 96cfddb3ac
commit f4978b2be1
Notes: sideshowbarker 2024-07-19 10:46:20 +09:00
4 changed files with 30 additions and 26 deletions

View file

@ -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()