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

GFC::Gdk::Mutex Class Reference

A C++ wrapper for the GDK Mutex object. More...

#include <gfc/gdk/types.hh>

List of all members.

Static Public Member Functions


Detailed Description

A C++ wrapper for the GDK Mutex object.

Mutex wraps the GDK mutex object that C programs lock and unlock with calls to gdk_threads_enter() and gdk_threads_leave() respectively. In GFC you don't use these fucntions. Instead you wrap critical sections of code in calls to Gdk::Mutex::lock() and Gdk::Mutex::unlock();


Member Function Documentation

void GFC::Gdk::Mutex::lock  )  [static]
 

This method marks the beginning of a critical section in which Gdk and Gtk methods can be called.

Only one thread at a time can be in such a critial section. If threads have not been enabled this method does nothing.

void GFC::Gdk::Mutex::unlock  )  [static]
 

This method marks the end of a critical section in which Gdk and Gtk methods can be called.

Only one thread at a time can be in such a critial section. If threads have not been enabled this method does nothing.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:36 2004 for GFC-UI by doxygen 1.3.8