parking_lot_core::parking_lot

Function create_hashtable

Source
fn create_hashtable() -> &'static HashTable
Expand description

Returns a reference to the latest hash table, creating one if it doesn’t exist yet. The reference is valid forever. However, the HashTable it references might become stale at any point. Meaning it still exists, but it is not the instance in active use.