urcu-bp/urcu-qsbr: remove unneeded DEBUG_YIELD code
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedMerged into master, thanks!
Mathieu
----- Original Message -----
Quoted 50 lines
From: "Lai Jiangshan" <[email protected]>
To: [email protected], "Mathieu Desnoyers" <[email protected]>
Cc: "Lai Jiangshan" <[email protected]>
Sent: Tuesday, December 2, 2014 4:32:32 AM
Subject: [PATCH] urcu-bp/urcu-qsbr: remove unneededDEBUG_YIELDcodeThey were moved to
debug-yield.cSigned-off-by Lai Jiangshan <[email protected]>--- urcu-bp.c | 5 ----- urcu-qsbr.c | 5 ----- 2 files changed, 0 insertions(+), 10 deletions(-)urcu-bp.c +0
-5@@ -106,11 +106,6 @@ static int initialized;static pthread_key_t urcu_bp_key; -#ifdef DEBUG_YIELD -unsigned int rcu_yield_active; -DEFINE_URCU_TLS(unsigned int, rcu_rand_yield); -#endif -struct rcu_gp rcu_gp = { .ctr =RCU_GP_COUNT };/* urcu-qsbr.c +0
-6@@ -66,11 +66,6 @@ struct rcu_gp rcu_gp = { .ctr = RCU_GP_ONLINE };*/ DEFINE_URCU_TLS(struct rcu_reader, rcu_reader); -#ifdef DEBUG_YIELD -unsigned int rcu_yield_active; -DEFINE_URCU_TLS(unsigned int, rcu_rand_yield); -#endif -static CDS_LIST_HEAD (registry);/* -- 1.7.4.4
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com