* 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>
URCU_TLS(nr_successful_dequeues)++;
URCU_TLS(nr_dequeues)++;
}
+ cds_wfcq_destroy(&tmp_head, &tmp_tail);
}
static void *thr_dequeuer(void *_count)
tot_dequeue_last);
retval = 1;
}
+ cds_wfcq_destroy(&head, &tail);
free(count_enqueuer);
free(count_dequeuer);
free(tid_enqueuer);