libcritnib
an ordered map data structure with lock-free reads
- Provided by: libcritnib-dev (Version: 1.1-2build1)
- Source: critnib
- Report a bug
an ordered map data structure with lock-free reads
#include <critnib.h>
Link with -lcritnib.
The prototype for func should be: int (*func)(uintptr_t key, void *value, void *privdata); where privdata is an optional value passed to the iterator.
NB. This version of the library implements the iterator in a crude blocking way, stalling any concurrent writers and iterators. This limitation will be lifted in the future.