Rudiments

threadmutex.h
1 // Copyright (c) 1999-2018 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
11 class RUDIMENTS_DLLSPEC threadmutex {
12 public:
13
15 threadmutex();
16
22 threadmutex(void *mut);
23
25 ~threadmutex();
26
29 bool lock();
30
35 bool tryLock();
36
39 bool unlock();
40
45 void *getInternalMutexStructure();
46
47 #include <rudiments/private/threadmutex.h>
48 };
49
50 #endif
threadmutex
Definition: threadmutex.h:11
threadmutex::threadmutex
threadmutex()
threadmutex::unlock
bool unlock()
threadmutex::lock
bool lock()
threadmutex::~threadmutex
~threadmutex()
threadmutex::getInternalMutexStructure
void * getInternalMutexStructure()
threadmutex::threadmutex
threadmutex(void *mut)
threadmutex::tryLock
bool tryLock()