Skip to content

feat: add option to force use of custom futex implementation#58

Merged
lilith218 merged 1 commit intomainfrom
custom-futex
Mar 31, 2026
Merged

feat: add option to force use of custom futex implementation#58
lilith218 merged 1 commit intomainfrom
custom-futex

Conversation

@db7
Copy link
Copy Markdown
Member

@db7 db7 commented Mar 30, 2026

This PR adds the option FUTEX_CUSTOM to force futex.h to rely on user defined vfutex_wait and vfutex_wake. That was already the case for unknown OS targets (eg, HMOS). With FUTEX_CUSTOM defined, the user can bring their own vfutex_ implementation on Linux.

@db7 db7 requested a review from lilith218 March 30, 2026 05:52
@db7 db7 self-assigned this Mar 30, 2026
Signed-off-by: Diogo Behrens <db7@sdf.org>
@lilith218 lilith218 self-requested a review March 31, 2026 14:24
@lilith218 lilith218 merged commit dd93f80 into main Mar 31, 2026
95 of 97 checks passed
@lilith218 lilith218 deleted the custom-futex branch March 31, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants