#include <tnt/job.h>
Public Types | |
|
typedef cxxtools::SmartPtr< Job > | JobPtr |
Public Member Functions | |
| Jobqueue (unsigned capacity_=1000) | |
| void | put (JobPtr j, bool force=false) |
| JobPtr | get () |
| void | setCapacity (unsigned c) |
| unsigned | getCapacity () const |
| unsigned | getWaitThreadCount () const |
| bool | empty () const |
Public Attributes | |
| cxxtools::Condition | noWaitThreads |