From: Mathieu Desnoyers Date: Fri, 31 May 2013 02:14:51 +0000 (-0400) Subject: rcuja testing: add arbitrary wait X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b759705a442a6851cdc86ff04134ef980bdcd146;p=userspace-rcu.git rcuja testing: add arbitrary wait For testing purposes, wait for free to be performed. Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/rcuja.c b/rcuja/rcuja.c index b0d3322..7d881b6 100644 --- a/rcuja/rcuja.c +++ b/rcuja/rcuja.c @@ -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,