projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b38749
)
Cleanup: cast poll delay return value to void
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 1 Jul 2015 14:03:39 +0000
(10:03 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 1 Jul 2015 14:03:39 +0000
(10:03 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu.c
patch
|
blob
|
blame
|
history
diff --git
a/urcu.c
b/urcu.c
index 6f5b1e01ea04c09db4f7c5c261918750396254ea..94d1131e3dba6df7982a33def88f6ec3908c2bf2 100644
(file)
--- a/
urcu.c
+++ b/
urcu.c
@@
-149,7
+149,7
@@
static void mutex_lock(pthread_mutex_t *mutex)
_CMM_STORE_SHARED(URCU_TLS(rcu_reader).need_mb, 0);
cmm_smp_mb();
}
-
poll(NULL,0,
10);
+
(void) poll(NULL, 0,
10);
}
#endif /* #else #ifndef DISTRUST_SIGNALS_EXTREME */
}
@@
-217,7
+217,7
@@
static void force_mb_all_readers(void)
cds_list_for_each_entry(index, ®istry, node) {
while (CMM_LOAD_SHARED(index->need_mb)) {
pthread_kill(index->tid, SIGRCU);
- poll(NULL, 0, 1);
+
(void)
poll(NULL, 0, 1);
}
}
cmm_smp_mb(); /* read ->need_mb before ending the barrier */
This page took
0.0266 seconds
and
4
git commands to generate.