|
sigx++
2.0.1
|
Holds a counter of synchronous messages between two threads. More...
#include <dispatcher.h>
Public Member Functions | |
| syncmessages_counter (const threadhandle_type &threadA) | |
| Construct a syncmessages_counter object. More... | |
| syncmessages_counter & | operator++ () |
| Increase the count of synchronous messages to the server thread. More... | |
| syncmessages_counter & | operator-- () |
| Decrease the count of synchronous messages to the server thread. More... | |
| operator bool () const | |
| Test whether the client thread has some synchronous messages from the server thread pending. More... | |
Holds a counter of synchronous messages between two threads.
| sigx::dld::syncmessages_counter::syncmessages_counter | ( | const threadhandle_type & | threadA) |
Construct a syncmessages_counter object.
| threadA | handle to thread A as a reference point to find out which thread is calling syncmessages_counter's methods. |
| sigx::dld::syncmessages_counter::operator bool | ( | ) | const |
Test whether the client thread has some synchronous messages from the server thread pending.
| syncmessages_counter & sigx::dld::syncmessages_counter::operator++ | ( | ) |
Increase the count of synchronous messages to the server thread.
| syncmessages_counter & sigx::dld::syncmessages_counter::operator-- | ( | ) |
Decrease the count of synchronous messages to the server thread.
1.8.4