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:
parent
7979b5a8bb
commit
4226b662cd
Notes:
sideshowbarker
2024-07-18 05:35:41 +09:00
Author: https://github.com/awesomekling
Commit: 4226b662cd
8 changed files with 48 additions and 188 deletions
|
@ -10,6 +10,14 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
FutexQueue::FutexQueue()
|
||||
{
|
||||
}
|
||||
|
||||
FutexQueue::~FutexQueue()
|
||||
{
|
||||
}
|
||||
|
||||
bool FutexQueue::should_add_blocker(Thread::Blocker& b, void* data)
|
||||
{
|
||||
VERIFY(data != nullptr); // Thread that is requesting to be blocked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue