Skip to content

Commit a68ec98

Browse files
committed
Rewrite sync::mutex as thin layer over native mutexes
Previously, sync::mutex had to split between green and native runtime systems and thus could not simply use the native mutex facility. This commit rewrites sync::mutex to link directly to native mutexes; in the future, the two will probably be coalesced into a single module (once librustrt is pulled into libstd wholesale).
1 parent 91a2c0d commit a68ec98

File tree

3 files changed

+12
-523
lines changed

3 files changed

+12
-523
lines changed

src/libsync/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ pub mod atomic;
5454

5555
// Concurrent data structures
5656

57-
mod mpsc_intrusive;
5857
pub mod spsc_queue;
5958
pub mod mpsc_queue;
6059
pub mod mpmc_bounded_queue;

src/libsync/mpsc_intrusive.rs

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)