ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Enumerations | Functions | Variables
stressThreadPool.C File Reference
#include <iostream>
#include <iterator>
#include <vector>
#include <unistd.h>
#include "TThreadPool.h"
#include "TThread.h"
Include dependency graph for stressThreadPool.C:

Go to the source code of this file.

Enumerations

enum  EProc { start, clean, start, clean }
 

Functions

ostream & operator<< (ostream &_stream, const TTestTask &_task)
 
void stressThreadPool (size_t _numThreads=5, bool _needDbg=false)
 

Variables

const size_t g_sleeptime = 2
 
const size_t g_multTasks = 10
 

Enumeration Type Documentation

enum EProc
Enumerator
start 
clean 
start 
clean 

Definition at line 27 of file stressThreadPool.C.

Function Documentation

ostream& operator<< ( ostream &  _stream,
const TTestTask &  _task 
)

Definition at line 43 of file stressThreadPool.C.

void stressThreadPool ( size_t  _numThreads = 5,
bool  _needDbg = false 
)

Definition at line 50 of file stressThreadPool.C.

Variable Documentation

const size_t g_multTasks = 10

Definition at line 24 of file stressThreadPool.C.

Referenced by stressThreadPool().

const size_t g_sleeptime = 2

Definition at line 23 of file stressThreadPool.C.