Auto merge of #95035 - m-ou-se:futex-locks-on-linux, r=Amanieu
Replace Linux Mutex and Condvar with futex based ones. Tracking issue: https://github.com/rust-lang/rust/issues/93740
This commit is contained in:
commit
306ba8357f
5 changed files with 251 additions and 41 deletions
|
@ -191,7 +191,7 @@ fn wait_timeout_wake() {
|
|||
|
||||
#[test]
|
||||
#[should_panic]
|
||||
#[cfg_attr(not(unix), ignore)]
|
||||
#[cfg(all(unix, not(target_os = "linux"), not(target_os = "android")))]
|
||||
fn two_mutexes() {
|
||||
let m = Arc::new(Mutex::new(()));
|
||||
let m2 = m.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue