summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1b38749)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
_CMM_STORE_SHARED(URCU_TLS(rcu_reader).need_mb, 0);
cmm_smp_mb();
}
_CMM_STORE_SHARED(URCU_TLS(rcu_reader).need_mb, 0);
cmm_smp_mb();
}
+ (void) poll(NULL, 0, 10);
}
#endif /* #else #ifndef DISTRUST_SIGNALS_EXTREME */
}
}
#endif /* #else #ifndef DISTRUST_SIGNALS_EXTREME */
}
cds_list_for_each_entry(index, ®istry, node) {
while (CMM_LOAD_SHARED(index->need_mb)) {
pthread_kill(index->tid, SIGRCU);
cds_list_for_each_entry(index, ®istry, node) {
while (CMM_LOAD_SHARED(index->need_mb)) {
pthread_kill(index->tid, SIGRCU);
+ (void) poll(NULL, 0, 1);
}
}
cmm_smp_mb(); /* read ->need_mb before ending the barrier */
}
}
cmm_smp_mb(); /* read ->need_mb before ending the barrier */