projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: test: side-effect in assertion
[userspace-rcu.git]
/
tests
/
benchmark
/
test_urcu_lfq.c
diff --git
a/tests/benchmark/test_urcu_lfq.c
b/tests/benchmark/test_urcu_lfq.c
index a505ccde27cd28d5402154d8d17856ea6888c974..62637f6e635e8b4fe4572a84524928783888fb09 100644
(file)
--- a/
tests/benchmark/test_urcu_lfq.c
+++ b/
tests/benchmark/test_urcu_lfq.c
@@
-381,8
+381,10
@@
int main(int argc, char **argv)
for (i = 0; i < duration; i++) {
sleep(1);
- if (verbose_mode)
- (void) write(1, ".", 1);
+ if (verbose_mode) {
+ fwrite(".", sizeof(char), 1, stdout);
+ fflush(stdout);
+ }
}
test_stop = 1;
This page took
0.024128 seconds
and
4
git commands to generate.