rust/src/libstd/sync/mpsc
Joshua Lockerman 68341a91ee Improve performance of spsc_queue and stream.
This commit makes two main changes.
1. It switches the spsc_queue node caching strategy from keeping a shared
counter of the number of nodes in the cache to keeping a consumer only counter
of the number of node eligible to be cached.
2. It separate the consumer and producers fields of spsc_queue and stream into
a producer cache line and consumer cache line.
2017-10-01 12:15:35 -04:00
..
blocking.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
cache_aligned.rs Improve performance of spsc_queue and stream. 2017-10-01 12:15:35 -04:00
mod.rs Improve performance of spsc_queue and stream. 2017-10-01 12:15:35 -04:00
mpsc_queue.rs libstd/sync/mpsc: relicense under rust license 2017-05-22 09:27:39 +02:00
oneshot.rs Replace invalid use of &mut with UnsafeCell in std::sync::mpsc 2016-12-16 19:52:12 -05:00
select.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
shared.rs Replace invalid use of &mut with UnsafeCell in std::sync::mpsc 2016-12-16 19:52:12 -05:00
spsc_queue.rs Improve performance of spsc_queue and stream. 2017-10-01 12:15:35 -04:00
stream.rs Improve performance of spsc_queue and stream. 2017-10-01 12:15:35 -04:00
sync.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00