diff options
| author | Mica White <botahamec@outlook.com> | 2024-03-08 17:31:13 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2024-03-08 17:31:13 -0500 |
| commit | 8e638052593d2636a7b457bb869be10671f156bb (patch) | |
| tree | 98624154b52cf48bf96fd430acfeca9be709d923 | |
| parent | ded44ec228b3eaceed820585882414831eb196c0 (diff) | |
Remove std mutex
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | src/mutex.rs | 3 |
2 files changed, 0 insertions, 4 deletions
@@ -10,7 +10,6 @@ license = "Unlicense" [dependencies] thread_local = "1" once_cell = "1" -antidote = "1" lock_api = "0.4" parking_lot = "0.12" spin = "0.9" diff --git a/src/mutex.rs b/src/mutex.rs index 9298b0c..f6b86de 100644 --- a/src/mutex.rs +++ b/src/mutex.rs @@ -12,9 +12,6 @@ pub type SpinLock<T> = Mutex<T, spin::Mutex<()>>; /// A parking lot mutex pub type ParkingMutex<T> = Mutex<T, parking_lot::RawMutex>; -/// A standard library mutex -pub type StdMutex<T> = Mutex<T, antidote::Mutex<()>>; - /// A mutual exclusion primitive useful for protecting shared data, which /// cannot deadlock. /// |
