sigx++  2.0.1
Data Structures | Typedefs | Functions
sigx::dld Namespace Reference

Data Structures

class  syncmessages_counter
 Holds a counter of synchronous messages between two threads. More...
 
struct  thread_compare
 

Typedefs

typedef std::pair< const
threadhandle_type, const
threadhandle_type
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
sync_messages_type
 
typedef static_mutex_lockable
< sync_messages_type
lockable_sync_messages_type
 

Functions

thread_pair_type 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...
 

Typedef Documentation

A pair of threads where pair::first is the smaller one and pair::second the greater one.

Function Documentation

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

Referenced by sigx::dispatcher::process_next(), and sigx::dispatcher::send().