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

Go to the source code of this file.

Enumerations

enum  EProc { start, clean, start, clean }
 

Functions

void threadPool (size_t _numThreads=10, bool _needDbg=false)
 

Variables

const size_t g_sleeptime = 1
 
const size_t g_multTasks = 50
 

Enumeration Type Documentation

enum EProc
Enumerator
start 
clean 
start 
clean 

Definition at line 25 of file threadPool.C.

Function Documentation

void threadPool ( size_t  _numThreads = 10,
bool  _needDbg = false 
)

Definition at line 45 of file threadPool.C.

Referenced by stressThreadPool().

Variable Documentation

const size_t g_multTasks = 50

Definition at line 21 of file threadPool.C.

Referenced by threadPool().

const size_t g_sleeptime = 1

Definition at line 20 of file threadPool.C.