sigx++  2.0.1
Data Structures | Namespaces | Constant Groups | Typedefs | Functions
dispatcher.h File Reference
#include <queue>
#include <map>
#include <glib.h>
#include <sigxconfig.h>
#include <sigx/fwddecl.h>
#include <sigx/bad_caller.h>
#include <sigx/bad_sync_call.h>
#include <sigx/operator_new.h>
#include <sigx/glib_lockables.h>

Go to the source code of this file.

Data Structures

class  sigx::dld::syncmessages_counter
 Holds a counter of synchronous messages between two threads. More...
 
struct  sigx::dld::thread_compare
 
class  sigx::dispatcher
 base class denoting the ability to dispatch messages between threads. More...
 

Namespaces

 sigx
 
 sigx::dld
 

Constant Groups

 sigx
 
 sigx::dld
 

Typedefs

typedef const void * sigx::threadhandle_type
 
typedef std::pair< const
threadhandle_type, const
threadhandle_type > 
sigx::dld::thread_pair_type
 A pair of threads where pair::first is the smaller one and pair::second the greater one. More...
 
typedef std::map
< thread_pair_type,
syncmessages_counter,
thread_compare > 
sigx::dld::sync_messages_type
 
typedef static_mutex_lockable
< sync_messages_type > 
sigx::dld::lockable_sync_messages_type
 

Functions

thread_pair_type sigx::dld::make_thread_pair (threadhandle_type threadA, threadhandle_type threadB)
 Creates a pair of thread handles where the first pair::first is the smaller one of both and pair::second is the greater one, compared with operator <. More...