src/vfer_test_accept_queue.c File Reference

Test: Accept Queue [accept_queue] tester. More...

#include "vfer_tests.h"
#include "vfer_accept_queue.h"

Go to the source code of this file.

Functions

void DeQueuerT (void *ptr)
void EnQueuerT (void *ptr)
int main (int argc, char **argv)

Variables

accept_queueac
int enqueuer_err
packetrequest


Detailed Description

Test: Accept Queue [accept_queue] tester.

Author:
Ivan Beschastnikh
This test tests accept_queue.c and accept_queue.h. It creates accept queues, enqueues and dequeues messages from the queue, making sure that everything is consistent and exhibits correct behaviour. This is done for server.c which is the only user of the accept_queue.

Definition in file vfer_test_accept_queue.c.


Function Documentation

void DeQueuerT ( void *  ptr  ) 

Thread to dequeue items from the queue

Parameters:
ptr not used

Definition at line 34 of file vfer_test_accept_queue.c.

void EnQueuerT ( void *  ptr  ) 

Thread to enquue items into the queue

Parameters:
ptr not used

Definition at line 61 of file vfer_test_accept_queue.c.

int main ( int  argc,
char **  argv 
)

Main process. Ignores arguments, runs small initial test and then starts threads to enqueue and dequeue items from a queue.

Definition at line 84 of file vfer_test_accept_queue.c.


Variable Documentation

accept_queue* ac

Definition at line 25 of file vfer_test_accept_queue.c.

int enqueuer_err

Definition at line 27 of file vfer_test_accept_queue.c.

packet* request

Definition at line 26 of file vfer_test_accept_queue.c.


Generated on Tue Aug 8 16:07:22 2006 for VFER by  doxygen 1.4.7