From: Mathieu Desnoyers Date: Thu, 3 Mar 2011 02:19:00 +0000 (-0500) Subject: urcu-bp: no "need_mb" in distrust signal config X-Git-Tag: v0.5.3~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d123233afd72d7556d8eec3a1cf07b0af7b4b3d2;p=urcu.git urcu-bp: no "need_mb" in distrust signal config Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-bp.c b/urcu-bp.c index 62d2704..db2aef0 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -95,11 +95,6 @@ static void mutex_lock(pthread_mutex_t *mutex) perror("Error in pthread mutex lock"); exit(-1); } - if (rcu_reader.need_mb) { - cmm_smp_mb(); - rcu_reader.need_mb = 0; - cmm_smp_mb(); - } poll(NULL,0,10); } #endif /* #else #ifndef DISTRUST_SIGNALS_EXTREME */