X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-bp.h;fp=urcu-bp.h;h=d92fbd1755047cc8cb446f9ec568d6b332f29a16;hp=cca664bc906c7fbbedd94dabeb7a1a7195610811;hb=4cf1675fa5feb3a2e9e9f965e516e55fbf411457;hpb=f9edede0c2229e5d92d0480d358eb2d14f2a8229 diff --git a/urcu-bp.h b/urcu-bp.h index cca664b..d92fbd1 100644 --- a/urcu-bp.h +++ b/urcu-bp.h @@ -86,6 +86,16 @@ extern void rcu_read_unlock(void); extern void synchronize_rcu(void); +/* + * rcu_bp_before_fork, rcu_bp_after_fork_parent and rcu_bp_after_fork_child + * should be called around fork() system calls when the child process is not + * expected to immediately perform an exec(). For pthread users, see + * pthread_atfork(3). + */ +extern void rcu_bp_before_fork(void); +extern void rcu_bp_after_fork_parent(void); +extern void rcu_bp_after_fork_child(void); + /* * In the bulletproof version, the following functions are no-ops. */