Files
RedBear-OS/src
vasilito 2fc628fcdf kernel: implement FUTEX_REQUEUE operation
Added FUTEX_REQUEUE (opcode 2) to the futex syscall implementation.
Cross-referenced with Linux 7.1 kernel/futex/requeue.c futex_requeue().

Operation: wake up to  waiters on the primary futex, and
requeue up to  waiters to a secondary futex at addr2.
This avoids the thundering herd problem in pthread condition
variable broadcast: instead of waking all waiters and having
them immediately contend, most are moved to a private futex
where they wake one at a time.

Previously the futex syscall would return EINVAL for FUTEX_REQUEUE,
breaking pthread_cond_broadcast on contended condition variables.
2026-07-09 10:48:47 +03:00
..
2026-07-08 00:29:43 +03:00
2026-04-08 19:40:41 +01:00
2026-04-08 19:40:41 +01:00
2026-04-23 16:33:15 +07:00
2026-04-26 15:37:40 +07:00
2026-03-03 14:51:32 +00:00
2026-07-08 00:29:43 +03:00
2026-03-10 05:58:26 +07:00