-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add umtx_op to FreeBSD. #2770
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add umtx_op to FreeBSD. #2770
Conversation
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
b3f9814
to
db5db66
Compare
@bors r+ |
📌 Commit 6700aff has been approved by |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13 |
@Amanieu Can you publish a new version of this crate to crates.io, so we can start using the additions in std? |
I'm waiting for bors to finish going through the PR queue, then I'll publish a release. |
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`
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`
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.