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

Mutex.cpp

Go to the documentation of this file.
00001 #include "OSDependent/Mutex.h"
00002 
00003 Mutex::Mutex()
00004 {
00005   InitializeCriticalSection(&_lock);
00006 }
00007 
00008 Mutex::~Mutex()
00009 {
00010   DeleteCriticalSection(&_lock);
00011 }
00012 
00013 void 
00014 Mutex::lock()
00015 {
00016   EnterCriticalSection(&_lock);
00017 }
00018 
00019 void 
00020 Mutex::unlock()
00021 {
00022   LeaveCriticalSection(&_lock);
00023 }
00024 

Generated on Mon Oct 7 09:33:29 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001