rculfhash: put thread offline before taking mutex (fix G.P. deadlock)
[urcu.git] / urcu / rculfhash.h
index 8f501ea29b7b1e549c9b2d87f9ecf2e769251af0..4e0b1975a37be667f6a3306b72167ac79aa6efa9 100644 (file)
@@ -94,7 +94,9 @@ struct cds_lfht *cds_lfht_new(cds_lfht_hash_fct hash_fct,
                                void (*func)(struct rcu_head *head)),
                        void (*cds_lfht_synchronize_rcu)(void),
                        void (*cds_lfht_rcu_read_lock)(void),
-                       void (*cds_lfht_rcu_read_unlock)(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.023013 seconds and 4 git commands to generate.