aboutsummaryrefslogtreecommitdiff
path: root/src/thread/PosixMutex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/PosixMutex.hxx')
-rw-r--r--src/thread/PosixMutex.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/PosixMutex.hxx b/src/thread/PosixMutex.hxx
index cbb713d3..d50764af 100644
--- a/src/thread/PosixMutex.hxx
+++ b/src/thread/PosixMutex.hxx
@@ -36,6 +36,8 @@
* Low-level wrapper for a pthread_mutex_t.
*/
class PosixMutex {
+ friend class PosixCond;
+
pthread_mutex_t mutex;
public: