parking_
lot_
core
0.9.10
In parking_
lot_
core::
parking_
lot
Modules
deadlock
Structs
Bucket
FairTimeout
HashTable
ParkToken
ThreadData
UnparkResult
UnparkToken
Enums
FilterOp
ParkResult
RequeueOp
Constants
DEFAULT_PARK_TOKEN
DEFAULT_UNPARK_TOKEN
LOAD_FACTOR
Statics
HASHTABLE
NUM_THREADS
Functions
create_hashtable
get_hashtable
grow_hashtable
hash
lock_bucket
lock_bucket_checked
lock_bucket_pair
park
rehash_bucket_into
unlock_bucket_pair
unpark_all
unpark_filter
unpark_one
unpark_requeue
with_thread_data
parking_lot_core
::
parking_lot
Function
with_thread_data
Copy item path
Settings
Help
Summary
Source
fn with_thread_data<T>(f: impl
FnOnce
(&
ThreadData
) -> T) -> T