Logo Search packages:      
Sourcecode: pan version File versions  Download package

Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes

pan::WorkerPool Class Reference
[General Utilities]

#include <worker-pool.h>

List of all members.

Classes

class  Worker

Public Member Functions

void cancel_all_silently ()
void push_work (Worker *, Worker::Listener *, bool del_worker_when_done)
 WorkerPool (int num_threads=-1, bool exclusive=false)

Private Types

typedef std::set< Worker * > WorkerSet

Private Member Functions

WorkerPooloperator= (WorkerPool &)
 WorkerPool (const WorkerPool &)

Private Attributes

WorkerSet my_workers
GThreadPool * tpool

Detailed Description

A C++ wrapper for GThreadPool.

Author:
Calin Culianu <calin@ajvar.org>
See also:
Queue

Definition at line 39 of file worker-pool.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index