1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

Add a kmalloc lock. This definitely reduces flakiness.

This commit is contained in:
Andreas Kling 2018-10-24 00:51:19 +02:00
parent 8e27cf2428
commit 82dae8fc90
2 changed files with 13 additions and 0 deletions

View file

@ -33,6 +33,11 @@ public:
m_lock = 0;
}
void init()
{
m_lock = 0;
}
private:
volatile dword m_lock { 0 };
};