Cleanup: Re-organise source dir
[urcu.git] / tests / benchmark / test_urcu_lfs_rcu.c
index dc0748501b4b1ea6ab2bb5f442e37be4383d37c4..ce011439aef4bda0761a90a61ab3e730b411cbdf 100644 (file)
@@ -21,8 +21,6 @@
  * 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>
@@ -382,8 +380,10 @@ int main(int argc, char **argv)
 
        for (i = 0; i < duration; i++) {
                sleep(1);
-               if (verbose_mode)
-                       write (1, ".", 1);
+               if (verbose_mode) {
+                       fwrite(".", sizeof(char), 1, stdout);
+                       fflush(stdout);
+               }
        }
 
        test_stop = 1;
This page took 0.023275 seconds and 4 git commands to generate.