Searched defs:sem (Results 1 – 5 of 5) sorted by relevance
29 let sem = Arc::new(AutoRelSemaphore::new(1).unwrap()); in sdv_auto_release_sem_acquire_test() localVariable49 let sem = AutoRelSemaphore::new(1).unwrap(); in sdv_auto_release_sem_try_acquire_test() localVariable67 let sem = Semaphore::new(2).unwrap(); in sdv_release_test() localVariable81 let sem = Arc::new(AutoRelSemaphore::new(2).unwrap()); in sdv_auto_release_sem_close_test() localVariable103 let sem = Arc::new(AutoRelSemaphore::new(5).unwrap()); in sdv_auto_release_sem_stress_test() localVariable141 let sem = Arc::new(AutoRelSemaphore::new(1).unwrap()); in sdv_async_stress_test() localVariable163 let sem = Semaphore::new(2).unwrap(); in sdv_try_acquire_test() localVariable185 let sem = Arc::new(Semaphore::new(0).unwrap()); in sdv_acquire_test() localVariable
91 sem: &'a AutoRelSemaphore, field362 let sem = Semaphore::new(4).unwrap(); in ut_sem_close_test() localVariable377 let sem = Arc::new(AutoRelSemaphore::new(1).unwrap()); in ut_auto_release_sem_acquire_test() localVariable395 let sem = Semaphore::new(2).unwrap(); in ut_release_test() localVariable409 let sem = Arc::new(AutoRelSemaphore::new(2).unwrap()); in ut_auto_release_sem_close_test() localVariable432 let sem = Arc::new(AutoRelSemaphore::new(5).unwrap()); in ut_auto_release_sem_stress_test() localVariable469 let sem = Arc::new(AutoRelSemaphore::new(1).unwrap()); in ut_async_stress_test() localVariable491 let sem = Semaphore::new(2).unwrap(); in ut_try_acquire_test() localVariable513 let sem = Arc::new(Semaphore::new(0).unwrap()); in ut_acquire_test() localVariable
42 sem: SemaphoreInner, field
37 sem: SemaphoreInner, field
200 pub(crate) sem: Option<WrappedSemPermit>, field265 sem: Arc<Semaphore>, field304 pub(crate) sem: Arc<Semaphore>, field