|
MPD
0.20.18
|
#include <notify.hxx>
Public Member Functions | |
| void | Wait () |
| Wait for a notification. More... | |
| void | Signal () |
| Notify the thread. More... | |
| void | Clear () |
| Clears a pending notification. More... | |
Data Fields | |
| Mutex | mutex |
| Cond | cond |
| bool | pending = false |
Definition at line 26 of file notify.hxx.
| void notify::Clear | ( | ) |
Clears a pending notification.
| void notify::Signal | ( | ) |
Notify the thread.
This function never blocks.
| void notify::Wait | ( | ) |
Wait for a notification.
Return immediately if we have already been notified since we last returned from notify_wait().
| Cond notify::cond |
Definition at line 28 of file notify.hxx.
| Mutex notify::mutex |
Definition at line 27 of file notify.hxx.
| bool notify::pending = false |
Definition at line 29 of file notify.hxx.
1.8.14