Skip to content

Add musl_mutex from musl POSIX-library.#14

Draft
gkashin wants to merge 1 commit intomulticore-locks:masterfrom
gkashin:add-musl-mutex
Draft

Add musl_mutex from musl POSIX-library.#14
gkashin wants to merge 1 commit intomulticore-locks:masterfrom
gkashin:add-musl-mutex

Conversation

@gkashin
Copy link

@gkashin gkashin commented May 21, 2025

As part of the PR, the latest pthread_mutex implementation from Musl library was added as another mutex for testing in LiTL.

Although, pretty similar, this version lacks robustness. Also, the following functions were delegated to glibc library to reduce the dependencies taken from Musl:

  • pthread_self
  • pthread_setcancelstate

To build, run make BUILD_MUSL=1. The usage is the same as for the other primitives.

@gkashin gkashin marked this pull request as draft June 8, 2025 06:45
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