blocxx
Namespaces | Functions

MutexImpl.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/ThreadTypes.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


namespace  BLOCXX_NAMESPACE::MutexImpl
 

The MutexImpl namespace represents the functionality needed by the BloCxx Mutex class (Mutex).


Functions

BLOCXX_COMMON_API int BLOCXX_NAMESPACE::MutexImpl::createMutex (Mutex_t &handle)
 Create a platform specific mutext handle.
BLOCXX_COMMON_API int BLOCXX_NAMESPACE::MutexImpl::destroyMutex (Mutex_t &handle)
 Destroy a mutex previously created with createMutex.
BLOCXX_COMMON_API int BLOCXX_NAMESPACE::MutexImpl::acquireMutex (Mutex_t &handle)
 Acquire the mutex specified by a given mutex handle.
BLOCXX_COMMON_API int BLOCXX_NAMESPACE::MutexImpl::releaseMutex (Mutex_t &handle)
 Release a mutex that was previously acquired with the acquireMutex method.