Skip to content

Commit 1ce5081

Browse files
committed
Add links to original mpmc and mpsc implementations
1 parent 49d9135 commit 1ce5081

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/libstd/rt/mpmc_bounded_queue.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
* policies, either expressed or implied, of Dmitry Vyukov.
2727
*/
2828

29+
// http://www.1024cores.net/home/lock-free-algorithms/queues/bounded-mpmc-queue
30+
2931
use unstable::sync::UnsafeArc;
3032
use unstable::atomics::{AtomicUint,Relaxed,Release,Acquire};
3133
use option::*;

src/libstd/rt/mpsc_queue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
*/
2828

2929
//! A mostly lock-free multi-producer, single consumer queue.
30+
// http://www.1024cores.net/home/lock-free-algorithms/queues/intrusive-mpsc-node-based-queue
3031

3132
use unstable::sync::UnsafeArc;
3233
use unstable::atomics::{AtomicPtr,Relaxed,Release,Acquire};

0 commit comments

Comments
 (0)