| Name | |
|---|---|
| enum | Scheme { SHARED, EXCLUSIVE} |
| enum | Type { READ, WRITE} |
| Name | |
|---|---|
| MamdaLock(Scheme scheme, const char * context, int threads =0) | |
| ~MamdaLock() | |
| bool | acquire(Type type) |
| bool | release(Type type) |
| const char * | type(Type type) |
| const char * | scheme(Scheme scheme) |
| bool | lockingEnabled() |
| Enumerator | Value | Description |
|---|---|---|
| SHARED | ||
| EXCLUSIVE |
| Enumerator | Value | Description |
|---|---|---|
| READ | ||
| WRITE |
MamdaLock(
Scheme scheme,
const char * context,
int threads =0
)
~MamdaLock()
bool acquire(
Type type
)
bool release(
Type type
)
static const char * type(
Type type
)
static const char * scheme(
Scheme scheme
)
static inline bool lockingEnabled()
Updated on 2023-03-31 at 15:29:57 +0100