Home
last modified time | relevance | path

Searched refs:check_send_sync_val (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/src/sync/
Drwlock.rs106 fn check_send_sync_val<T: Send + Sync>(_t: T) {} in bounds() function
137 check_send_sync_val(rwlock.read()); in bounds()
138 check_send_sync_val(Arc::clone(&rwlock).read_owned()); in bounds()
139 check_send_sync_val(rwlock.write()); in bounds()
140 check_send_sync_val(Arc::clone(&rwlock).write_owned()); in bounds()
Dmutex.rs202 fn check_send_sync_val<T: Send + Sync>(_t: T) {} in bounds() function
214 check_send_sync_val(mutex.lock()); in bounds()
216 check_send_sync_val(arc_mutex.clone().lock_owned()); in bounds()
Dsemaphore.rs63 fn check_send_sync_val<T: Send + Sync>(_t: T) {} in bounds() function
70 check_send_sync_val(semaphore.acquire()); in bounds()