Searched refs:with_thread_data (Results 1 – 2 of 2) sorted by relevance
51 fn with_thread_data<T>(f: impl FnOnce(&ThreadData) -> T) -> T { in with_thread_data() function136 state = with_thread_data(|thread_data| { in lock_slow()
173 fn with_thread_data<T>(f: impl FnOnce(&ThreadData) -> T) -> T { in with_thread_data() function576 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()