Functions | Variables

test-pool.cpp File Reference

Test for the thread pool system. More...

#include "thread-queue.h"
#include "task-manager.h"
#include "thread-pool.h"
#include "assert.h"
#include <boost/thread.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/bind.hpp>
#include <unistd.h>
#include <iostream>
#include "utils/io-lock.h"
#include "utils/measure-time.h"
#include "utils/atomic-variable.h"
#include <systemc>
#include "utils/big-lock.h"
Include dependency graph for test-pool.cpp:

Go to the source code of this file.

Functions

void f ()
void g ()
void send_requests (int n, boost::function< void()> fn)
void test_pool (int nb_producers, int nb_req, boost::function< void()> fn)
int sc_main (int argc, char **argv)

Variables

atomic_variable< int > count_f (0)
const int N = 10

Detailed Description

Test for the thread pool system.

Definition in file test-pool.cpp.

 All Classes Files Functions Defines