dispatcher.h File Reference

#include <queue>
#include <map>
#include <glib/gtypes.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

namespace  sigx
namespace  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.
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 <.


Generated on Mon Aug 3 17:35:08 2009 for sigx++ by  doxygen 1.5.9