summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cf1f482)
In case an application would try to create threads after the urcu-bp
library destructor has run, make sure the arena chunk list is
re-initialized after the memory mappings are unmapped.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
munmap(chunk, chunk->data_len
+ sizeof(struct registry_chunk));
}
munmap(chunk, chunk->data_len
+ sizeof(struct registry_chunk));
}
+ CDS_INIT_LIST_HEAD(®istry_arena.chunk_list);
ret = pthread_key_delete(urcu_bp_key);
if (ret)
abort();
ret = pthread_key_delete(urcu_bp_key);
if (ret)
abort();