Fix: test initial population needs QS
[userspace-rcu.git] / tests / test_urcu_ja.c
index 7de723e1db203e2e8abfd4e15cc8c91888625d9f..8c7e7277019edfe33570e5e9df897eebbeff5f68 100644 (file)
@@ -1033,6 +1033,9 @@ int do_mt_populate_ja(void)
                URCU_TLS(nr_add)++;
                URCU_TLS(nr_writes)++;
                rcu_read_unlock();
+               /* Hash table resize only occurs in call_rcu thread */
+               if (!(iter % 100))
+                       rcu_quiescent_state();
                if (ret) {
                        fprintf(stderr, "Error (%d) adding node %" PRIu64 "\n",
                                ret, key);
This page took 0.022739 seconds and 4 git commands to generate.