New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pthread_mutexattr_setprotocol and pthread_mutexattr_getprotocol on Linux #2731
Conversation
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
ecb52e0
to
3830d48
Compare
@bors r+ |
📌 Commit 3830d48 has been approved by |
Add pthread_mutexattr_setprotocol and pthread_mutexattr_getprotocol on Linux-like platforms Include the PTHREAD_PRIO_* constants. Android does not define PTHREAD_PRIO_PROTECT.
💔 Test failed - checks-actions |
AFAICT the failures were not related to this change. |
We currently have emscripten as a linux-like platform but it doesn't support this function. |
To clarify, the actual failure is in the emscripten tests (click on the link from bors, then look for the asmjs builder on the left), which doesn't have these functions. |
3830d48
to
f6cf436
Compare
@bors r+ |
📌 Commit f6cf436 has been approved by |
Add pthread_mutexattr_setprotocol and pthread_mutexattr_getprotocol on Linux and Android Include the PTHREAD_PRIO_* constants. Android does not define PTHREAD_PRIO_PROTECT.
💔 Test failed - checks-actions |
@bors retry |
Add pthread_mutexattr_setprotocol and pthread_mutexattr_getprotocol on Linux and Android Include the PTHREAD_PRIO_* constants. Android does not define PTHREAD_PRIO_PROTECT.
💔 Test failed - checks-actions |
It seems these functions don't exist on Android? Or our Android version in CI is too old. Feel free to upgrade it if that is the case. |
…n Linux Include the PTHREAD_PRIO_* constants.
f6cf436
to
91395ae
Compare
I don't have a good way to validate the functionality on Android, so I've updated the PR to be Linux only. |
@bors r+ |
📌 Commit 91395ae has been approved by |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13 |
Include the PTHREAD_PRIO_* constants.