Functions | Variables

test-queue.cpp File Reference

Unit test for lib-during/thread-queue.h. More...

#include "thread-queue.h"
#include "assert.h"
#include <boost/thread.hpp>
#include <unistd.h>
#include <iostream>
#include "utils/io-lock.h"
Include dependency graph for test-queue.cpp:

Go to the source code of this file.

Functions

void producer (int slowness, int size)
void consumer (int slowness)
void run_test (int pslow, int cslow, int size)
int main ()

Variables

thread_queue< int > b

Detailed Description

Unit test for lib-during/thread-queue.h.

Definition in file test-queue.cpp.

 All Classes Files Functions Defines