AGENT++  4.0.3
Public Member Functions | Static Public Member Functions | List of all members
ThreadManager Class Reference

The ThreadManager class provides functionality to control the execution of threads. More...

#include <threads.h>

Inheritance diagram for ThreadManager:
Synchronized MibContext MibEntry RequestList SingleThreadObject MibComplexEntry MibGroup MibLeaf MibProxy MibTable MibStaticTable agentpp_simulation_mib simSysGroup snmp_notification_mib snmp_proxy_mib snmp_target_mib snmpGroup sysGroup VacmMIB agentppSimDeleteRow agentppSimDeleteTableContents agentppSimMode DateAndTime OctetStrMinMax SimMibLeaf SnmpDisplayString snmpEnableAuthenTraps SnmpEngineID snmpInASNParseErrs snmpInBadCommunityNames snmpInBadCommunityUses snmpInBadValues snmpInBadVersions snmpInGenErrs snmpInGetNexts snmpInGetRequests snmpInGetResponses snmpInNoSuchNames snmpInPkts snmpInReadOnlys snmpInSetRequests SnmpInt32MinMax snmpInTooBigs snmpInTotalReqVars snmpInTotalSetVars snmpInTraps snmpOutBadValues snmpOutGenErrs snmpOutGetNexts snmpOutGetRequests snmpOutGetResponses snmpOutNoSuchNames snmpOutPkts snmpOutSetRequests snmpOutTooBigs snmpOutTraps snmpProxyDrops snmpRowStatus snmpSilentDrops SnmpTagList SnmpTagValue snmpTargetAddrParams snmpTargetAddrTAddress snmpTargetAddrTDomain SnmpUnavailableContexts SnmpUnknownContexts StorageType sysObjectID sysORLastChange sysServices sysUpTime TestAndIncr TimeStamp SimMibTable StorageTable TimeStampTable VacmContextTable

Public Member Functions

 ThreadManager ()
 Default constructor.
 
virtual ~ThreadManager ()
 Destructor.
 
void start_synch ()
 Start synchronized execution.
 
void end_synch ()
 End synchronized execution.
 
- Public Member Functions inherited from Synchronized
 Synchronized ()
 
 ~Synchronized ()
 
void wait ()
 Causes current thread to wait until another thread invokes the notify() method or the notifyAll() method for this object.
 
bool wait (unsigned long timeout)
 Causes current thread to wait until either another thread invokes the notify() method or the notifyAll() method for this object, or a specified amount of time has elapsed.
 
void notify ()
 Wakes up a single thread that is waiting on this object's monitor.
 
void notify_all ()
 Wakes up all threads that are waiting on this object's monitor.
 
bool lock ()
 Enter a critical section.
 
TryLockResult trylock ()
 Try to enter a critical section.
 
bool unlock ()
 Leave a critical section.
 

Static Public Member Functions

static void start_global_synch ()
 Start global synchronized execution.
 
static void end_global_synch ()
 End global synchronized execution.
 

Additional Inherited Members

- Public Types inherited from Synchronized
enum  TryLockResult { LOCKED = 1, BUSY = 0, OWNED = -1 }
 

Detailed Description

The ThreadManager class provides functionality to control the execution of threads.

Author
Frank Fock
Version
3.5.3

Constructor & Destructor Documentation

ThreadManager::ThreadManager ( )

Default constructor.

virtual ThreadManager::~ThreadManager ( )
virtual

Destructor.

Member Function Documentation

static void ThreadManager::end_global_synch ( )
static

End global synchronized execution.

void ThreadManager::end_synch ( )

End synchronized execution.

static void ThreadManager::start_global_synch ( )
static

Start global synchronized execution.

void ThreadManager::start_synch ( )

Start synchronized execution.


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