* 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>
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_enqueue = 1;
tot_pop_last);
retval = 1;
}
+ cds_wfs_destroy(&s);
free(count_enqueuer);
free(count_dequeuer);
free(tid_enqueuer);