Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


mutex.hh File Reference

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

#include <xfc/object.hh>
#include <glib/gthread.h>
#include <xfc/glib/inline/mutex.inl>

Namespaces

Classes

Defines


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 XFC_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 XFC_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 XFC_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 XFC_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.

Xfce Foundation Classes


Copyright © 2004-2005 The XFC Development Team XFC 4.3