Add other writer synchronization for rcu_seq
diff --git a/rcuhashbash.c b/rcuhashbash.c
index ed414fd..730423f 100644
--- a/rcuhashbash.c
+++ b/rcuhashbash.c
@@ -847,6 +847,48 @@
.write_unlock_buckets = spinlock_write_unlock_buckets,
},
{
+ .reader_type = "rcu_seq",
+ .writer_type = "rwlock",
+ .init_bucket = rwlock_init_bucket,
+ .reader_thread = rcuhashbash_reader_rcu_seq,
+ .writer_thread = rcuhashbash_writer_rcu_seq,
+ .write_lock_buckets = rwlock_write_lock_buckets,
+ .write_unlock_buckets = rwlock_write_unlock_buckets,
+ },
+ {
+ .reader_type = "rcu_seq",
+ .writer_type = "mutex",
+ .init_bucket = mutex_init_bucket,
+ .reader_thread = rcuhashbash_reader_rcu_seq,
+ .writer_thread = rcuhashbash_writer_rcu_seq,
+ .write_lock_buckets = mutex_write_lock_buckets,
+ .write_unlock_buckets = mutex_write_unlock_buckets,
+ },
+ {
+ .reader_type = "rcu_seq",
+ .writer_type = "table_spinlock",
+ .reader_thread = rcuhashbash_reader_rcu_seq,
+ .writer_thread = rcuhashbash_writer_rcu_seq,
+ .write_lock_buckets = table_spinlock_write_lock_buckets,
+ .write_unlock_buckets = table_spinlock_write_unlock_buckets,
+ },
+ {
+ .reader_type = "rcu_seq",
+ .writer_type = "table_rwlock",
+ .reader_thread = rcuhashbash_reader_rcu_seq,
+ .writer_thread = rcuhashbash_writer_rcu_seq,
+ .write_lock_buckets = table_rwlock_write_lock_buckets,
+ .write_unlock_buckets = table_rwlock_write_unlock_buckets,
+ },
+ {
+ .reader_type = "rcu_seq",
+ .writer_type = "table_mutex",
+ .reader_thread = rcuhashbash_reader_rcu_seq,
+ .writer_thread = rcuhashbash_writer_rcu_seq,
+ .write_lock_buckets = table_mutex_write_lock_buckets,
+ .write_unlock_buckets = table_mutex_write_unlock_buckets,
+ },
+ {
.reader_type = "spinlock",
.writer_type = "spinlock",
.init_bucket = spinlock_init_bucket,