Gee Class which allows concurrent writing & reading



Hello,
I have several threads working on the same TreeMap, one writing (adding
new items) and the others searching for items. I am facing problems of
this type:

ERROR:treemap.c:2374:gee_tree_map_node_iterator_next: assertion failed: (self->stamp == self->_map->priv->stamp)
Aborted

ERROR:treemap.c:2795:gee_tree_map_value_iterator_real_get: assertion failed: (((GeeTreeMapNodeIterator*) self)->stamp == ((GeeTreeMapNodeIterator*) self)->_map->priv->stamp)
Abortado


Is there any structure in libgee who allows concurrent reading and
writing? Or should I implement some kind of sincronization control?

Thanks in advance,
Daniel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]