X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=include%2Furcu%2Furcu-bp.h;h=2ea17e6397391fae5e081118215ac717efbc0ae0;hp=d3d122d0f71df610a0276af0e3e5043a6adf4ee7;hb=5b46e39d0e4d2592853c7bfc11add02b1101c04b;hpb=60dd72eaef48fe7fafd398d1c6577973e50828c9 diff --git a/include/urcu/urcu-bp.h b/include/urcu/urcu-bp.h index d3d122d..2ea17e6 100644 --- a/include/urcu/urcu-bp.h +++ b/include/urcu/urcu-bp.h @@ -151,12 +151,14 @@ extern void urcu_bp_after_fork_parent(void); extern void urcu_bp_after_fork_child(void); /* - * In the bulletproof version, the following functions are no-ops. + * In the bulletproof version, thread registration is performed lazily, + * but it can be forced by issuing an explicit urcu_bp_register_thread(). */ -static inline void urcu_bp_register_thread(void) -{ -} +extern void urcu_bp_register_thread(void); +/* + * In the bulletproof version, the following functions are no-ops. + */ static inline void urcu_bp_unregister_thread(void) { }