Add umtx_op to FreeBSD. - #2770
Merged
Merged
Conversation
|
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
63 tasks
m-ou-se
force-pushed
the
freebsd-futex
branch
3 times, most recently
from
April 28, 2022 10:25
b3f9814 to
db5db66
Compare
Member
|
@bors r+ |
Contributor
|
📌 Commit 6700aff has been approved by |
Contributor
Contributor
|
☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13 |
Member
Author
|
@Amanieu Can you publish a new version of this crate to crates.io, so we can start using the additions in std? |
Member
|
I'm waiting for bors to finish going through the PR queue, then I'll publish a release. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
May 6, 2022
Use futex-based locks and thread parker on {Free, Open, DragonFly}BSD.
This switches *BSD to our futex-based locks and thread parker.
Tracking issue: rust-lang#93740
This is a draft, because this still needs a new version of the `libc` crate to be published that includes rust-lang/libc#2770.
r? `@Amanieu`
workingjubilee
pushed a commit
to pgcentralfoundation/postgrestd
that referenced
this pull request
Sep 15, 2022
Use futex-based locks and thread parker on {Free, Open, DragonFly}BSD.
This switches *BSD to our futex-based locks and thread parker.
Tracking issue: rust-lang/rust#93740
This is a draft, because this still needs a new version of the `libc` crate to be published that includes rust-lang/libc#2770.
r? `@Amanieu`
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.
See https://www.freebsd.org/cgi/man.cgi?query=_umtx_op&sektion=2&manpath=FreeBSD+11.0-RELEASE+and+Ports and https://github.com/FreeBSD/freebsd-src/blob/stable/11/sys/sys/umtx.h.