Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 11 of 11) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dsync.rs126 let mutex = mutex1.clone(); in sdv_concurrency_with_mutex2() localVariable
134 let mutex = mutex1.clone(); in sdv_concurrency_with_mutex2() localVariable
165 let mutex = mutex1.clone(); in sdv_concurrency_with_mutex3() localVariable
186 let mutex = mutex1.clone(); in sdv_concurrency_with_mutex4() localVariable
210 let mutex = mutex1.clone(); in sdv_concurrency_with_mutex4() localVariable
240 let mutex = Arc::new(Mutex::new(0)); in sdv_rwlock_multi_threads() localVariable
361 let mutex = rwlock.clone(); in sdv_rwlock_read_and_write() localVariable
397 let mutex = rwlock.clone(); in sdv_rwlock_with_write1() localVariable
426 let mutex = rwlock.clone(); in sdv_rwlock_with_write2() localVariable
Dmutex.rs43 let mutex = Arc::new(Mutex::new(10)); in sdv_mutex_lock_hold_longtime() localVariable
Dentry.rs29 mod mutex; module
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
Dylong_tokio_mutex.rs36 let mutex = Arc::new($mutex::new(0)); localVariable
66 let mutex = Arc::new($mutex::new(0)); localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
Dmutex.rs216 let mutex = Mutex::new(10); in ut_mutex_lock_01() localVariable
233 let mutex = Mutex::new(10); in ut_mutex_try_lock_01() localVariable
249 let mutex = Arc::new(Mutex::new(10)); in ut_mutex_try_lock_02() localVariable
281 let mutex = Mutex::new(10); in ut_mutex_unlock_01() localVariable
Dmod.rs19 pub mod mutex; module
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_sync_mutex_perf.rs22 let mutex = Arc::new(Mutex::new(0)); in main() localVariable
Dylong_sync_rwlock_perf.rs22 let mutex = Arc::new(RwLock::new(0)); in main() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dblock_on.rs72 mutex: Mutex<bool>, field
Dparker.rs29 mutex: Mutex<()>, field
Dcurrent_thread.rs81 mutex: Mutex<bool>, field