diff --git a/src/libstd/comm/mod.rs b/src/libstd/comm/mod.rs index 6281f6d53ab..b21b255dbfc 100644 --- a/src/libstd/comm/mod.rs +++ b/src/libstd/comm/mod.rs @@ -1019,7 +1019,6 @@ pub fn stress_factor() -> uint { }) #[test] - #[ignore(cfg(windows))] // FIXME(#11003) fn send_from_outside_runtime() { let (p, c) = Chan::::new(); let (p1, c1) = Chan::new(); @@ -1044,7 +1043,6 @@ fn send_from_outside_runtime() { } #[test] - #[ignore(cfg(windows))] // FIXME(#11003) fn recv_from_outside_runtime() { let (p, c) = Chan::::new(); let (dp, dc) = Chan::new(); @@ -1061,7 +1059,6 @@ fn recv_from_outside_runtime() { } #[test] - #[ignore(cfg(windows))] // FIXME(#11003) fn no_runtime() { let (p1, c1) = Chan::::new(); let (p2, c2) = Chan::::new(); diff --git a/src/libstd/unstable/mutex.rs b/src/libstd/unstable/mutex.rs index 5b2fac8e74e..7ab8a83d04b 100644 --- a/src/libstd/unstable/mutex.rs +++ b/src/libstd/unstable/mutex.rs @@ -286,7 +286,7 @@ pub unsafe fn unlock(l: *c_void) { pub unsafe fn wait(cond: *c_void, m: *c_void) { unlock(m); - WaitForSingleObject(cond as HANDLE, 0); + WaitForSingleObject(cond as HANDLE, libc::INFINITE); lock(m); }