mUPnP for C
|
Functions | |
mUpnpCond * | mupnp_cond_new () |
bool | mupnp_cond_delete (mUpnpCond *cond) |
bool | mupnp_cond_wait (mUpnpCond *cond, mUpnpMutex *mutex, unsigned long timeout) |
bool | mupnp_cond_signal (mUpnpCond *cond) |
Destroy a condition variable
cond | The cond to destroy |
mUpnpCond * mupnp_cond_new | ( | void | ) |
Create a new condition variable
Signal a condition variable
cond | Cond to be signalled |
bool mupnp_cond_wait | ( | mUpnpCond * | cond, |
mUpnpMutex * | mutex, | ||
unsigned long | timeout ) |
Wait for condition variable to be signalled.
cond | Cond to be waited |
mutex | Mutex used for synchronization |
timeout | Maximum time in seconds to wait, 0 to wait forever |