Skip to content

Add pthread mutex initializer constants for riscv64#5094

Draft
SpriteOvO wants to merge 1 commit intorust-lang:mainfrom
SpriteOvO:riscv64-pthread-mutex
Draft

Add pthread mutex initializer constants for riscv64#5094
SpriteOvO wants to merge 1 commit intorust-lang:mainfrom
SpriteOvO:riscv64-pthread-mutex

Conversation

@SpriteOvO
Copy link
Copy Markdown
Member

@SpriteOvO SpriteOvO commented May 2, 2026

Description

Adds constants

  • PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
  • PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
  • PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP

for riscv64 target.

This could fix issue rust-lang/miri#4989.

Sources

https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/nptl/pthread.h;h=95c0eb7e0341a4a37ec9df767e80fa7245aee1ef;hb=HEAD#l90

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI
    Blocked by libc-test ctest failed locally #5093.

@SpriteOvO SpriteOvO force-pushed the riscv64-pthread-mutex branch from 075758b to 926e287 Compare May 2, 2026 00: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.

1 participant