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;
tot_successful_enqueues,
tot_successful_dequeues + end_dequeues);
+ cds_wfq_destroy(&q);
free(count_enqueuer);
free(count_dequeuer);
free(tid_enqueuer);