tag | 12c450192e032c80deb7ff112546b1b3ac7d61bb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Oct 04 22:46:06 2023 -0700 |
object | a08bf5f19cfe79031256050e74b349e44390ae2e |
frc_340818110 (10572802,com.google.android.adbd,com.google.android.appsearch,com.google.android.captiveportallogin,com.google.android.cellbroadcast,com.google.android.configinfrastructure,com.google.android.conscrypt,com.google.android.documentsui,com.google.android.extservices,com.google.android.healthfitness,com.google.android.media,com.google.android.media.swcodec,com.google.android.mediaprovider,com.google.android.neuralnetworks,com.google.android.permission,com.google.android.resolv,com.google.android.rkpd,com.google.android.scheduling,com.google.android.sdkext,com.google.android.uwb,com.google.android.wifi)
commit | a08bf5f19cfe79031256050e74b349e44390ae2e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 17:58:19 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 17:58:19 2023 +0000 |
tree | 4de54b42fb04c5b0823e9bd18687a5ff227de230 | |
parent | 44037895e351d890f944a33d7adb3d72dfb4d607 [diff] | |
parent | 5f15bf4914fc5b72e135a10b992fe94ed68f4d5e [diff] |
Snap for 9912757 from 5f15bf4914fc5b72e135a10b992fe94ed68f4d5e to aml-frc-release Change-Id: Id8b3e69c0ef616e037a40e65c154ebda9f9b21cd
This crate provides miscellaneous tools for concurrent programming:
AtomicCell
, a thread-safe mutable memory location.(no_std)AtomicConsume
, for reading from primitive atomic types with “consume” ordering.(no_std)Parker
, a thread parking primitive.ShardedLock
, a sharded reader-writer lock with fast concurrent reads.WaitGroup
, for synchronizing the beginning or end of some computation.Backoff
, for exponential backoff in spin loops.(no_std)CachePadded
, for padding and aligning a value to the length of a cache line.(no_std)scope
, for spawning threads that borrow local variables from the stack.Features marked with (no_std) can be used in no_std
environments.
Add this to your Cargo.toml
:
[dependencies] crossbeam-utils = "0.8"
Crossbeam Utils 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.