projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e05f9f8
)
Tweak the MutexLock implementation slightly, so as to confuse Coverity less.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sun, 18 Aug 2013 08:55:43 +0000
(10:55 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sun, 18 Aug 2013 08:55:43 +0000
(10:55 +0200)
mutexlock.cpp
patch
|
blob
|
history
diff --git
a/mutexlock.cpp
b/mutexlock.cpp
index
dbd5ae5
..
a1dcc6a
100644
(file)
--- a/
mutexlock.cpp
+++ b/
mutexlock.cpp
@@
-3,11
+3,11
@@
MutexLock::MutexLock(pthread_mutex_t *mutex)
: mutex(mutex)
{
MutexLock::MutexLock(pthread_mutex_t *mutex)
: mutex(mutex)
{
- pthread_mutex_lock(mutex);
+ pthread_mutex_lock(
this->
mutex);
}
MutexLock::~MutexLock()
{
}
MutexLock::~MutexLock()
{
- pthread_mutex_unlock(mutex);
+ pthread_mutex_unlock(
this->
mutex);
}
}