aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread/PosixMutex.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-10 09:23:41 +0100
committerMax Kellermann <max@duempel.org>2013-01-10 10:03:19 +0100
commit0b93445380ba39c13813e1a236b183883f5a54db (patch)
tree5f6ed83f4f8ef9dffa8fb80af016c02d7cf2f19d /src/thread/PosixMutex.hxx
parent483ba5ea1ccebd4741fbcc5d92648ac6854c60fe (diff)
downloadmpd-0b93445380ba39c13813e1a236b183883f5a54db.tar.gz
mpd-0b93445380ba39c13813e1a236b183883f5a54db.tar.xz
mpd-0b93445380ba39c13813e1a236b183883f5a54db.zip
thread/Cond: new wrapper for pthread_cond_t or GCond
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 cbb713d31..d50764af4 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: