GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

mutex.hh File Reference

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

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

Go to the source code of this file.

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


Generated on Tue Aug 24 00:04:56 2004 for GFC-Core by doxygen 1.3.8