1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

Kernel+Userland: Remove global futexes

We only ever use private futexes, so it doesn't make sense to carry
around all the complexity required for global (cross-process) futexes.
This commit is contained in:
Andreas Kling 2021-08-16 23:29:25 +02:00
parent 7979b5a8bb
commit 4226b662cd
Notes: sideshowbarker 2024-07-18 05:35:41 +09:00
8 changed files with 48 additions and 188 deletions

View file

@ -31,13 +31,6 @@ VMObject::VMObject(size_t size)
VMObject::~VMObject()
{
{
ScopedSpinLock lock(m_on_deleted_lock);
for (auto& it : m_on_deleted)
it->vmobject_deleted(*this);
m_on_deleted.clear();
}
VERIFY(m_regions.is_empty());
}