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.rs173 fn with_thread_data<T>(f: impl FnOnce(&ThreadData) -> T) -> T { in with_thread_data() function
576 with_thread_data(|thread_data| { in park()
1118 use super::{get_hashtable, lock_bucket, with_thread_data, ThreadData, NUM_THREADS};
1193 with_thread_data(|thread_data| { in acquire_resource()
1199 with_thread_data(|thread_data| { in release_resource()
1542 let this_thread_ptr = super::with_thread_data(|t| t as *const _ as *mut _); in run()