Logo Search packages:      
Sourcecode: vdr-plugin-live version File versions  Download package

tnt::Jobqueue Class Reference

#include <job.h>

List of all members.


Detailed Description

Jobqueue - one per process

Definition at line 165 of file job.h.


Public Types

typedef Pointer< JobJobPtr

Public Member Functions

bool empty () const
JobPtr get ()
unsigned getCapacity () const
unsigned getWaitThreadCount () const
 Jobqueue (unsigned capacity_)
void put (JobPtr j)
void setCapacity (unsigned c)

Public Attributes

cxxtools::Condition noWaitThreads

Private Attributes

unsigned capacity
std::deque< JobPtr > jobs
cxxtools::Mutex mutex
cxxtools::Condition notEmpty
cxxtools::Condition notFull
unsigned waitThreads

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

Generated by  Doxygen 1.6.0   Back to index