fix(redox): incorrect values for PTHREAD_MUTEX_{NORMAL, RECURSIVE}#4943
Merged
JohnTitor merged 1 commit intorust-lang:mainfrom Jan 27, 2026
Merged
fix(redox): incorrect values for PTHREAD_MUTEX_{NORMAL, RECURSIVE}#4943JohnTitor merged 1 commit intorust-lang:mainfrom
PTHREAD_MUTEX_{NORMAL, RECURSIVE}#4943JohnTitor merged 1 commit intorust-lang:mainfrom
Conversation
c7374b2 to
712dd77
Compare
See https://gitlab.redox-os.org/redox-os/relibc/-/blob/5cadc9ebbd36f5294e08f67233928e5ad6f05670/src/header/pthread/mod.rs#L60 Signed-off-by: Anhad Singh <andypython@protonmail.com>
712dd77 to
851b1be
Compare
Member
|
@jackpot51 could you double-check this PR when you have some time? Thanks in advance! |
jackpot51
approved these changes
Jan 27, 2026
Contributor
Author
|
Thanks! |
Contributor
|
Can a 0.2 rollup be done soon? |
Member
Short answer is yes™! We have an issue around the time64 change (#4939) and I'd like to cut a new release as soon as it's resolved. |
tgross35
pushed a commit
to tgross35/rust-libc
that referenced
this pull request
Feb 9, 2026
See https://gitlab.redox-os.org/redox-os/relibc/-/blob/5cadc9ebbd36f5294e08f67233928e5ad6f05670/src/header/pthread/mod.rs#L60 Signed-off-by: Anhad Singh <andypython@protonmail.com> (backport <rust-lang#4943>) (cherry picked from commit 3482c80)
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 9, 2026
See https://gitlab.redox-os.org/redox-os/relibc/-/blob/5cadc9ebbd36f5294e08f67233928e5ad6f05670/src/header/pthread/mod.rs#L60 Signed-off-by: Anhad Singh <andypython@protonmail.com> (backport <#4943>) (cherry picked from commit 3482c80)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
PTHREAD_MUTEX_{NORMAL, RECURSIVE}on Redox.PTHREAD_MUTEX_*constants.Sources
See https://gitlab.redox-os.org/redox-os/relibc/-/blob/5cadc9ebbd36f5294e08f67233928e5ad6f05670/src/header/pthread/mod.rs#L60
Checklist
libc-test/semverhave been updated.PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ROBUST,PTHREAD_MUTEX_STALLED,PTHREAD_MUTEX_DEFAULTwere added. These are not defined inlibc-test/semver/unix.txt*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);especially relevant for platforms that may not be checked in CI