summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-08-31 20:47:44 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-08-31 20:47:44 -0400
commit02ed84774c2b9eb23995d722349476a1e5a6870f (patch)
treeb7f40fb3b0a61baf3f746cf7f4bdc611226d34ce
parent283e8d5bc00c13f821c67ed7a431af4bd7694113 (diff)
downloadinfinitytier-02ed84774c2b9eb23995d722349476a1e5a6870f.tar.gz
infinitytier-02ed84774c2b9eb23995d722349476a1e5a6870f.zip
Non-x86 build fix.
-rw-r--r--node/Mutex.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Mutex.hpp b/node/Mutex.hpp
index b16f53f7..b68e5d93 100644
--- a/node/Mutex.hpp
+++ b/node/Mutex.hpp
@@ -114,12 +114,12 @@ public:
inline void lock() const
{
- (const_cast <Mutex *> (this))->lock();
+ pthread_mutex_lock(&((const_cast <Mutex *> (this))->_mh));
}
inline void unlock() const
{
- (const_cast <Mutex *> (this))->unlock();
+ pthread_mutex_unlock(&((const_cast <Mutex *> (this))->_mh));
}
class Lock : NonCopyable