#include <stdlib.h>#include <stdio.h>#include <pthread.h>#include <time.h>#include "fastqueue.h"
Go to the source code of this file.
|
| |
| #define | error_check(status, string) if (status==-1) perror(string); |
| #define | MAXELEMENTS 10000 |
| pthread_t | producer_thread |
| pthread_t | consumer_thread |
| float | queuetime |
| float | porttime |
| queue_t * | consumer_cmdq |
| struct timespec ts_start | ts_end |
| int | status |
| void * | producertask (void *argp) |
| void * | consumertask (void *argp) |
----------------------------------------*- mode: C++; -*--
Testing fastqueue. ----------------------------------------------------------
Definition in file testqueue.c.
1.6.1