rcuja testing: add arbitrary wait
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 31 May 2013 02:14:51 +0000 (22:14 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 31 May 2013 02:14:51 +0000 (22:14 -0400)
For testing purposes, wait for free to be performed.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rcuja/rcuja.c

index b0d33221ae6c730ed756453b655dba5564fe38b7..7d881b6fa376f6bcecc84aee897c8796801125f6 100644 (file)
@@ -2435,6 +2435,8 @@ int cds_ja_destroy(struct cds_ja *ja,
        ret = rcuja_delete_ht(ja->ht);
        if (ret)
                return ret;
+       fprintf(stderr, "Waiting arbitrary time for node free accounting...\n");
+       sleep(10);      //wait for free TEST XXX
        flavor->thread_online();
        if (uatomic_read(&ja->nr_fallback))
                fprintf(stderr,
This page took 0.025813 seconds and 4 git commands to generate.