diff options
Diffstat (limited to 'contrib/jemalloc/src/rtree.c')
-rw-r--r-- | contrib/jemalloc/src/rtree.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/jemalloc/src/rtree.c b/contrib/jemalloc/src/rtree.c index eb0ff1e2..90c6935 100644 --- a/contrib/jemalloc/src/rtree.c +++ b/contrib/jemalloc/src/rtree.c @@ -44,3 +44,24 @@ rtree_new(unsigned bits) return (ret); } + +void +rtree_prefork(rtree_t *rtree) +{ + + malloc_mutex_prefork(&rtree->mutex); +} + +void +rtree_postfork_parent(rtree_t *rtree) +{ + + malloc_mutex_postfork_parent(&rtree->mutex); +} + +void +rtree_postfork_child(rtree_t *rtree) +{ + + malloc_mutex_postfork_child(&rtree->mutex); +} |