aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread/GLibMutex.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/GLibMutex.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/GLibMutex.hxx')
-rw-r--r--src/thread/GLibMutex.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/GLibMutex.hxx b/src/thread/GLibMutex.hxx
index f9bb5b4e9..2c666c1ea 100644
--- a/src/thread/GLibMutex.hxx
+++ b/src/thread/GLibMutex.hxx
@@ -36,6 +36,8 @@
* A wrapper for GMutex.
*/
class GLibMutex {
+ friend class GLibCond;
+
#if GLIB_CHECK_VERSION(2,32,0)
GMutex mutex;
#else