projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: shadowed local variable (-Wshadow)
[userspace-rcu.git]
/
tests
/
benchmark
/
test_urcu_hash.c
diff --git
a/tests/benchmark/test_urcu_hash.c
b/tests/benchmark/test_urcu_hash.c
index 2410ff72058a15b48c2132408a6a785e40df42cc..d7e09b325f58f5b3641bb2e5354b8b82f58d63d9 100644
(file)
--- a/
tests/benchmark/test_urcu_hash.c
+++ b/
tests/benchmark/test_urcu_hash.c
@@
-691,11
+691,11
@@
end_pthread_join:
}
{
char msg[1] = { 0x42 };
}
{
char msg[1] = { 0x42 };
- ssize_t ret;
+ ssize_t
s
ret;
do {
do {
-
ret = write(count_pipe[1], msg, 1);
/* wakeup thread */
- } while (ret == -1L && errno == EINTR);
+
sret = write(count_pipe[1], msg, 1);
/* wakeup thread */
+ } while (
s
ret == -1L && errno == EINTR);
}
err = pthread_join(tid_count, &tret);
if (err != 0) {
}
err = pthread_join(tid_count, &tret);
if (err != 0) {
This page took
0.023369 seconds
and
4
git commands to generate.