This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +10
-8
lines changed Expand file tree Collapse file tree 8 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ cfg_if::cfg_if! {
1414 } else if #[ cfg( target_family = "unix" ) ] {
1515 mod pthread;
1616 pub use pthread:: Condvar ;
17+ } else if #[ cfg( target_os = "windows" ) ] {
18+ mod windows;
19+ pub use windows:: Condvar ;
1720 } else if #[ cfg( all( target_vendor = "fortanix" , target_env = "sgx" ) ) ] {
1821 mod sgx;
1922 pub use sgx:: Condvar ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ impl Condvar {
2727 let r = c:: SleepConditionVariableSRW (
2828 self . inner . get ( ) ,
2929 mutex:: raw ( mutex) ,
30- crate :: sys:: pal:: windows :: dur2timeout ( dur) ,
30+ crate :: sys:: pal:: dur2timeout ( dur) ,
3131 0 ,
3232 ) ;
3333 if r == 0 {
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ cfg_if::cfg_if! {
1919 ) ) ] {
2020 mod pthread;
2121 pub use pthread:: { Mutex , raw} ;
22+ } else if #[ cfg( target_os = "windows" ) ] {
23+ mod windows;
24+ pub use windows:: { Mutex , raw} ;
2225 } else if #[ cfg( all( target_vendor = "fortanix" , target_env = "sgx" ) ) ] {
2326 mod sgx;
2427 pub use sgx:: Mutex ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ cfg_if::cfg_if! {
1414 } else if #[ cfg( target_family = "unix" ) ] {
1515 mod queue;
1616 pub use queue:: RwLock ;
17+ } else if #[ cfg( target_os = "windows" ) ] {
18+ mod windows;
19+ pub use windows:: RwLock ;
1720 } else if #[ cfg( all( target_vendor = "fortanix" , target_env = "sgx" ) ) ] {
1821 mod sgx;
1922 pub use sgx:: RwLock ;
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ pub mod env;
1919pub mod fs;
2020pub mod handle;
2121pub mod io;
22- pub mod locks;
2322pub mod memchr;
2423pub mod net;
2524pub mod os;
You can’t perform that action at this time.
0 commit comments