X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-flavor.h;h=c04f1db78ba1e113a7ff85e9d8552cfe08b342c8;hp=9af4d0e632b291799a49a747d7f6bcb1f05efc60;hb=882f335739b978d1c55be2faeed077f315afe5d7;hpb=79d5479e9f6dfe097fc24b0ddf2fe7fd1ba0f43b diff --git a/urcu-flavor.h b/urcu-flavor.h index 9af4d0e..c04f1db 100644 --- a/urcu-flavor.h +++ b/urcu-flavor.h @@ -30,6 +30,7 @@ extern "C" { struct rcu_flavor_struct { void (*read_lock)(void); void (*read_unlock)(void); + int (*read_ongoing)(void); void (*read_quiescent_state)(void); void (*update_call_rcu)(struct rcu_head *head, void (*func)(struct rcu_head *head)); @@ -46,6 +47,7 @@ struct rcu_flavor_struct { const struct rcu_flavor_struct x = { \ .read_lock = rcu_read_lock, \ .read_unlock = rcu_read_unlock, \ + .read_ongoing = rcu_read_ongoing, \ .read_quiescent_state = rcu_quiescent_state, \ .update_call_rcu = call_rcu, \ .update_synchronize_rcu = synchronize_rcu, \