projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: Replace prove by autotools tap runner
[urcu.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..5ef96e66579c35341016a71b80e195dbfcd04ab4 100644
(file)
--- a/
tests/benchmark/test_urcu_lfq.c
+++ b/
tests/benchmark/test_urcu_lfq.c
@@
-21,8
+21,6
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-#include "config.h"
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
@@
-381,8
+379,10
@@
int main(int argc, char **argv)
for (i = 0; i < duration; i++) {
sleep(1);
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;
}
test_stop = 1;
This page took
0.023583 seconds
and
4
git commands to generate.