Logo Search packages:      
Sourcecode: pan version File versions

pan::WorkerPool Class Reference
[General Utilities]

#include <worker-pool.h>

List of all members.

Detailed Description

A C++ wrapper for GThreadPool.

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

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

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


class  Worker

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

Generated by  Doxygen 1.6.0   Back to index