Home
last modified time | relevance | path

Searched refs:with_thread_data (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/parking_lot_core/src/
Dword_lock.rs51 fn with_thread_data<T>(f: impl FnOnce(&ThreadData) -> T) -> T { in with_thread_data() function
136 state = with_thread_data(|thread_data| { in lock_slow()
Dparking_lot.rs197 fn with_thread_data<T>(f: impl FnOnce(&ThreadData) -> T) -> T { in with_thread_data() function
600 with_thread_data(|thread_data| { in park()
1142 use super::{get_hashtable, lock_bucket, with_thread_data, ThreadData, NUM_THREADS};
1217 with_thread_data(|thread_data| { in acquire_resource()
1223 with_thread_data(|thread_data| { in release_resource()
1566 let this_thread_ptr = super::with_thread_data(|t| t as *const _ as *mut _); in run()