Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# mutex.h File Reference

A GMutex, GStaticMutex, GStaticRecMutex and GStaticRWLock C++ wrapper interface. More...

`#include <inti/slot.h>`
`#include <glib/gthread.h>`

Go to the source code of this file.

## Namespaces

- namespace Inti
- namespace Inti::G

## Defines

- #define INTI_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT }
    Macro that initializes a StaticRWLock.
- #define INTI_STATIC_MUTEX_INIT { G_STATIC_MUTEX_INIT }
    Macro that initializes a StaticMutex.
- #define INTI_STATIC_REC_MUTEX_INIT { G_STATIC_REC_MUTEX_INIT }
    Macro that initializes a StaticRecMutex.
- #define INTI_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT }
    Macro that initializes a StaticRWLock.

## Detailed Description

A GMutex, GStaticMutex, GStaticRecMutex and GStaticRWLock C++ wrapper interface.

Provides Mutex, a mutual exclusion object that can be used to protect access to portions of memory.

## Define Documentation

#define INTI_STATIC_MUTEX_INIT { G_STATIC_MUTEX_INIT }

| Macro that initializes a StaticMutex. A StaticMutex must be initialized with this macro, before it can be used. This macro can used be to initialize a variable, but it cannot be assigned to a variable. If you want to allocate a run-time mutex use G::Mutex instead.

#define INTI_STATIC_REC_MUTEX_INIT { G_STATIC_REC_MUTEX_INIT }

| Macro that initializes a StaticRecMutex. A StaticRecMutex must be initialized with this macro, before it can be used. This macro can used be to initialize a variable, but it cannot be assigned to a variable. If you want to allocate a run-time mutex use G::RecMutex instead.

#define INTI_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT }

| Macro that initializes a StaticRWLock. A StaticRWLock must be initialized with this macro, before it can be used. This macro can used be to initialize a variable, but it cannot be assigned to a variable. If you want to allocate a run-time mutex use G::RWLock instead.

#define INTI_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT }

| Macro that initializes a StaticRWLock. A StaticRWLock must be initialized with this macro, before it can be used. This macro can used be to initialize a variable, but it cannot be assigned to a variable. If you want to allocate a run-time mutex use G::RWLock instead.

Main Page - Footer