commit | 385a9db3495110175d7949a56a8bb505996c36fb | [log] [tgz] |
---|---|---|
author | Sam Saccone <samccone@google.com> | Tue Jul 18 20:18:33 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 18 20:18:33 2023 +0000 |
tree | 17905a00f1d74298e8dae627f08fadb10e447f88 | |
parent | 9d0b2dbbb945eb09f41e154653bb57eaeef6f884 [diff] | |
parent | c5371357bcbd47bc54e8c76fd1530aca1cc5dfb1 [diff] |
Move OWNER reference master=>main. am: c5371357bc Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/crossbeam-queue/+/2661137 Change-Id: Ie35989aeb5ba4afde6d935755be6a04e4bc0fc97 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This crate provides concurrent queues that can be shared among threads:
ArrayQueue
, a bounded MPMC queue that allocates a fixed-capacity buffer on construction.SegQueue
, an unbounded MPMC queue that allocates small buffers, segments, on demand.Everything in this crate can be used in no_std
environments, provided that alloc
feature is enabled.
Add this to your Cargo.toml
:
[dependencies] crossbeam-queue = "0.3"
Crossbeam Queue supports stable Rust releases going back at least six months, and every time the minimum supported Rust version is increased, a new minor version is released. Currently, the minimum supported Rust version is 1.38.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.