Function panda_sys::qht_reset_size[][src]

pub unsafe extern "C" fn qht_reset_size(
    ht: *mut qht,
    n_elems: size_t
) -> bool
Expand description

qht_reset_size - reset and resize a QHT @ht: QHT to be reset and resized @n_elems: number of entries the resized hash table should be optimized for.

Returns true if the resize was necessary and therefore performed. Returns false otherwise.

If concurrent readers may exist, the objects pointed to by the hash table must remain valid for the existing RCU grace period – see qht_remove(). See also: qht_reset(), qht_resize().