clarify licensing situation of mpsc and spsc queue
This commit is contained in:
parent
6b23a7e87f
commit
807a7bfcee
@ -8,8 +8,15 @@
|
|||||||
//! method, and see the method for more information about it. Due to this
|
//! method, and see the method for more information about it. Due to this
|
||||||
//! caveat, this queue might not be appropriate for all use-cases.
|
//! caveat, this queue might not be appropriate for all use-cases.
|
||||||
|
|
||||||
// https://www.1024cores.net/home/lock-free-algorithms
|
// The original implementation is based off:
|
||||||
// /queues/non-intrusive-mpsc-node-based-queue
|
// https://www.1024cores.net/home/lock-free-algorithms/queues/non-intrusive-mpsc-node-based-queue
|
||||||
|
//
|
||||||
|
// Note that back when the code was imported, it was licensed under the BSD-2-Clause license:
|
||||||
|
// http://web.archive.org/web/20110411011612/https://www.1024cores.net/home/lock-free-algorithms/queues/unbounded-spsc-queue
|
||||||
|
//
|
||||||
|
// The original author of the code agreed to relicense it under `MIT OR Apache-2.0` in 2017, so as
|
||||||
|
// of today the license of this file is the same as the rest of the codebase:
|
||||||
|
// https://github.com/rust-lang/rust/pull/42149
|
||||||
|
|
||||||
#[cfg(all(test, not(target_os = "emscripten")))]
|
#[cfg(all(test, not(target_os = "emscripten")))]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
@ -4,7 +4,15 @@
|
|||||||
//! concurrently between two threads. This data structure is safe to use and
|
//! concurrently between two threads. This data structure is safe to use and
|
||||||
//! enforces the semantics that there is one pusher and one popper.
|
//! enforces the semantics that there is one pusher and one popper.
|
||||||
|
|
||||||
|
// The original implementation is based off:
|
||||||
// https://www.1024cores.net/home/lock-free-algorithms/queues/unbounded-spsc-queue
|
// https://www.1024cores.net/home/lock-free-algorithms/queues/unbounded-spsc-queue
|
||||||
|
//
|
||||||
|
// Note that back when the code was imported, it was licensed under the BSD-2-Clause license:
|
||||||
|
// http://web.archive.org/web/20110411011612/https://www.1024cores.net/home/lock-free-algorithms/queues/unbounded-spsc-queue
|
||||||
|
//
|
||||||
|
// The original author of the code agreed to relicense it under `MIT OR Apache-2.0` in 2017, so as
|
||||||
|
// of today the license of this file is the same as the rest of the codebase:
|
||||||
|
// https://github.com/rust-lang/rust/pull/42149
|
||||||
|
|
||||||
#[cfg(all(test, not(target_os = "emscripten")))]
|
#[cfg(all(test, not(target_os = "emscripten")))]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user