mUPnP for C
|
Data Structures | |
struct | _mUpnpMutex |
The generic wrapper struct for mUPnP's mutexes. More... | |
Typedefs | |
typedef struct _mUpnpMutex | mUpnpMutex |
The generic wrapper struct for mUPnP's mutexes. | |
Functions | |
mUpnpMutex * | mupnp_mutex_new (void) |
bool | mupnp_mutex_delete (mUpnpMutex *mutex) |
bool | mupnp_mutex_lock (mUpnpMutex *mutex) |
bool | mupnp_mutex_unlock (mUpnpMutex *mutex) |
typedef struct _mUpnpMutex mUpnpMutex |
The generic wrapper struct for mUPnP's mutexes.
This wrapper has been created to enable 100% code compatibility for different platforms (Linux, Win32 etc..)
bool mupnp_mutex_delete | ( | mUpnpMutex * | mutex | ) |
Destroy a mutex
mutex | The mutex to destroy |
bool mupnp_mutex_lock | ( | mUpnpMutex * | mutex | ) |
Acquire a mutex lock
mutex | Mutex to lock |
mUpnpMutex * mupnp_mutex_new | ( | void | ) |
Create a new mutex
bool mupnp_mutex_unlock | ( | mUpnpMutex * | mutex | ) |
Release a locked mutex
mutex | Mutex to unlock |