threads.h File Reference

#include <agent_pp/agent++.h>
#include <pthread.h>
#include <time.h>
#include <sys/types.h>
#include <agent_pp/List.h>

Go to the source code of this file.

Classes

class  MibMethodCall
class  Runnable
 The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread. More...
class  Synchronized
 The Synchronized class implements services for synchronizing access between different threads. More...
class  Lock
 The Lock class implements a synchronization object, that when created enters the critical section of the given Synchronized object and leaves it when the Lock object is destroyed. More...
class  Thread
 A thread is a thread of execution in a program. More...
class  ThreadList
class  MibTask
 The MibTask class implements a task for processing SNMP requests using AGENT++. More...
class  ThreadManager
 The ThreadManager class provides functionality to control the execution of threads. More...
class  ThreadSynchronize
class  SingleThreadObject

Defines

#define MULTI_THREADED   TRUE
#define SINGLE_THREADED   FALSE
#define AGENTPP_DEFAULT_STACKSIZE   0x10000
#define TS_SYNCHRONIZED(x)   { ThreadSynchronize _ts_synchronize(*this); x }
#define AGENTPP_DECL_TEMPL_ARRAY_THREAD
 The ThreadList class implements a singleton class that holds a list of all currently running Threads.

Typedefs

typedef void(Mib::* mib_method_t )(Request *)

Enumerations

enum  cb_type { STANDARD_CB, SHADOW_CB }

Functions

void * method_routine_caller (void *)

Variables

class AGENTPP_DECL ThreadList
AGENTPP_DECL_TEMPL template
class AGENTPP_DECL 
Array< Thread >


Define Documentation

#define AGENTPP_DECL_TEMPL_ARRAY_THREAD

The ThreadList class implements a singleton class that holds a list of all currently running Threads.

Author:
Frank Fock
Version:
3.5

#define AGENTPP_DEFAULT_STACKSIZE   0x10000

#define MULTI_THREADED   TRUE

#define SINGLE_THREADED   FALSE

#define TS_SYNCHRONIZED (  )     { ThreadSynchronize _ts_synchronize(*this); x }


Typedef Documentation

typedef void(Mib::* mib_method_t)(Request *)


Enumeration Type Documentation

enum cb_type

Enumerator:
STANDARD_CB 
SHADOW_CB 


Function Documentation

void* method_routine_caller ( void *   ) 


Variable Documentation

AGENTPP_DECL_TEMPL template class AGENTPP_DECL Array< Thread >

class AGENTPP_DECL ThreadList


Generated on Fri May 29 22:36:53 2009 for AGENT++ by  doxygen 1.5.6