urcu-bp.h | urcu-bp.h | |||
---|---|---|---|---|
skipping to change at line 90 | skipping to change at line 90 | |||
*/ | */ | |||
extern void rcu_read_lock(void); | extern void rcu_read_lock(void); | |||
extern void rcu_read_unlock(void); | extern void rcu_read_unlock(void); | |||
#endif /* !_LGPL_SOURCE */ | #endif /* !_LGPL_SOURCE */ | |||
extern void synchronize_rcu(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 no | ||||
t | ||||
* 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. | * In the bulletproof version, the following functions are no-ops. | |||
*/ | */ | |||
static inline void rcu_register_thread(void) | static inline void rcu_register_thread(void) | |||
{ | { | |||
} | } | |||
static inline void rcu_unregister_thread(void) | static inline void rcu_unregister_thread(void) | |||
{ | { | |||
} | } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added | |||