Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

Jobqueue Class Reference

#include <tnt/job.h>

List of all members.

Public Types

typedef cxxtools::SmartPtr< JobJobPtr

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


Detailed Description

Jobqueue - one per process
Copyright © 2008 The Tntnet Development Team
Tntnet 1.6