data structure of generic synchronized cp_hashtable More...
#include <hashtable.h>
Data Fields | |
cp_hashtable_entry ** | table |
array of pointers to entries | |
long | table_size |
size of the table | |
unsigned long | items |
number of items in the table | |
int | mode |
collection mode | |
cp_hashfunction | hash_fn |
pointer to hash function | |
cp_compare_fn | compare_fn |
pointer to compare function | |
cp_copy_fn | copy_key |
pointer to key copy function | |
cp_copy_fn | copy_value |
pointer to value copy function | |
cp_destructor_fn | free_key |
cp_destructor_fn | free_value |
cp_lock * | lock |
lock | |
cp_thread | txowner |
lock owner | |
int | txtype |
lock type | |
int | min_size |
table resize lower limit | |
int | fill_factor_min |
minimal fill factor in percent | |
int | fill_factor_max |
maximal fill factor in percent | |
cp_hashtable_entry ** | resize_table |
temp table for resizing | |
int | resizing |
resize running flag | |
unsigned long | resize_len |
resize table length | |
cp_thread | resize_thread |
run resize in a separate thread | |
cp_mutex * | resize_lock |
for synchronizing resize operation |
data structure of generic synchronized cp_hashtable
collection mode