Rabbit Tree
Radix bit tries for implementing associative arrays and sets in C.
|
#include <node_pthread.h>
Data Fields | |
pthread_cond_t | cond |
The condition variable used to signal waiting threads. | |
pthread_mutex_t | mutex |
The mutex that protects this root node. | |
RBT_NODE_T * | node |
The root node. | |
unsigned int | readers |
The number of concurrent read operations. | |
unsigned int | writers |
The number of queued write operations. | |
A convenient wrapper around root nodes to provide thread safety.