Mixe for Privacy and Anonymity in the Internet
|
#include "StdAfx.h"
#include "CAQueue.hpp"
#include "CAMsg.hpp"
#include "CAUtil.hpp"
#include "CAThread.hpp"
Go to the source code of this file.
Classes | |
struct | __queue_test |
Macros | |
#define | TEST_SIZE 1000000 |
Functions | |
THREAD_RETURN | producer (void *param) |
THREAD_RETURN | consumer (void *param) |
#define TEST_SIZE 1000000 |
THREAD_RETURN consumer | ( | void * | param | ) |
Definition at line 411 of file CAQueue.cpp.
References __queue_test::buff, E_SUCCESS, CAQueue::getOrWait(), __queue_test::len, msSleep(), __queue_test::pQueue, THREAD_RETURN_ERROR, and THREAD_RETURN_SUCCESS.
Referenced by CAQueue::test().
THREAD_RETURN producer | ( | void * | param | ) |
Definition at line 388 of file CAQueue.cpp.
References CAQueue::add(), __queue_test::buff, E_SUCCESS, __queue_test::len, msSleep(), __queue_test::pQueue, THREAD_RETURN_ERROR, and THREAD_RETURN_SUCCESS.
Referenced by CAQueue::test().