diff options
Diffstat (limited to 'src/rtree.c')
-rw-r--r-- | src/rtree.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/rtree.c b/src/rtree.c index eb0ff1e..90c6935 100644 --- a/src/rtree.c +++ b/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); +} |