X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-flavor.h;h=5e7f292514fd389c2982c36c9d51e45265f5fa0d;hp=c04f1db78ba1e113a7ff85e9d8552cfe08b342c8;hb=b7f721d9ba1e3bc86a6f78d8571aacb0519b071e;hpb=a22bf98bc1ceccb8ba89dfdf73425dea77e60ae8 diff --git a/urcu-flavor.h b/urcu-flavor.h index c04f1db..5e7f292 100644 --- a/urcu-flavor.h +++ b/urcu-flavor.h @@ -41,6 +41,8 @@ struct rcu_flavor_struct { void (*thread_online)(void); void (*register_thread)(void); void (*unregister_thread)(void); + + void (*barrier)(void); }; #define DEFINE_RCU_FLAVOR(x) \ @@ -56,6 +58,7 @@ const struct rcu_flavor_struct x = { \ .thread_online = rcu_thread_online, \ .register_thread = rcu_register_thread, \ .unregister_thread = rcu_unregister_thread,\ + .barrier = rcu_barrier, \ } extern const struct rcu_flavor_struct rcu_flavor;