Rudiments: /home/dmuse/src/rudiments/include/rudiments/threadmutex.h Source File

Rudiments

- Main Page
- Classes

threadmutex.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_THREADMUTEX_H
5 #define RUDIMENTS_THREADMUTEX_H
6
7 #include <rudiments/private/threadmutexincludes.h>
8
9 class threadmutexprivate;
10
13 class RUDIMENTS_DLLSPEC threadmutex {
14 public:
15
17 threadmutex();
18
24 threadmutex(void *mut);
25
27 ~threadmutex();
28
31 bool lock();
32
37 bool tryLock();
38
41 bool unlock();
42
47 void *getInternalMutexStructure();
48
49 #include <rudiments/private/threadmutex.h>
50 };
51
52 #endif
threadmutex
Definition: threadmutex.h:13