|
Tkrzw
|
Broker to send a signal to another thread. More...
#include <tkrzw_thread_util.h>
Classes | |
| class | Waiter |
| Handler to wait for the signal. More... | |
Public Member Functions | |
| SignalBroker () | |
| Default constructor. More... | |
| bool | Send (bool all=true) |
| Sends a signal identified by a key. More... | |
Friends | |
| class | Waiter |
Broker to send a signal to another thread.
| tkrzw::SignalBroker::SignalBroker | ( | ) |
Default constructor.
| bool tkrzw::SignalBroker::Send | ( | bool | all = true | ) |
Sends a signal identified by a key.
| all | If true, notification is sent to all waiting threads. If false, it is sent to only one waiting thread. |