rculfhash: put thread offline before taking mutex (fix G.P. deadlock)
[urcu.git] / urcu / rculfhash.h
index 385a43b56a08c09df194c3c556362ade78a1c6fe..4e0b1975a37be667f6a3306b72167ac79aa6efa9 100644 (file)
@@ -92,7 +92,11 @@ struct cds_lfht *cds_lfht_new(cds_lfht_hash_fct hash_fct,
                        int flags,
                        void (*cds_lfht_call_rcu)(struct rcu_head *head,
                                void (*func)(struct rcu_head *head)),
-                       void (*cds_lfht_synchronize_rcu)(void));
+                       void (*cds_lfht_synchronize_rcu)(void),
+                       void (*cds_lfht_rcu_read_lock)(void),
+                       void (*cds_lfht_rcu_read_unlock)(void),
+                       void (*cds_lfht_rcu_thread_offline)(void),
+                       void (*cds_lfht_rcu_thread_online)(void));
 
 /*
  * cds_lfht_destroy - destroy a hash table.
This page took 0.023261 seconds and 4 git commands to generate.