Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

mutex.h

Go to the documentation of this file.
00001 #ifndef MUTEX_H
00002 #define MUTEX_H
00003 
00004 #include <pthread.h>
00005 #include <stdio.h>
00006 
00007 class Mutex
00008 {
00009 public:
00010         Mutex(char *title = 0);
00011         ~Mutex();
00012 
00013         int lock(char *location = 0);
00014         int unlock();
00015         int trylock();
00016         int reset();
00017 
00018         pthread_mutex_t mutex;
00019         char *title;
00020 };
00021 
00022 
00023 #endif

Generated on Sun Jan 8 13:26:35 2006 for Guicast-svn by  doxygen 1.4.4