1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00

Kernel: Propagate OOM conditions out of sys$futex

This commit is contained in:
Idan Horowitz 2022-07-13 09:29:51 +03:00 committed by Andreas Kling
parent 364f6a9bf0
commit 55c7496200
4 changed files with 20 additions and 21 deletions

View file

@ -21,7 +21,7 @@ public:
FutexQueue();
virtual ~FutexQueue();
u32 wake_n_requeue(u32, Function<FutexQueue*()> const&, u32, bool&, bool&);
ErrorOr<u32> wake_n_requeue(u32, Function<ErrorOr<FutexQueue*>()> const&, u32, bool&, bool&);
u32 wake_n(u32, Optional<u32> const&, bool&);
u32 wake_all(bool&);