aboutsummaryrefslogtreecommitdiffstats
path: root/src/condition.h
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-28 22:09:42 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-28 22:09:42 +0100
commitce5c22f4f4b463c11c58de2990b8565c061cf58b (patch)
treefd9c85f5938dec1d3a7d7e8e7b42900d55292dd1 /src/condition.h
parent248cd50a20d1756413340061f8f18d82d68a8859 (diff)
downloadmpd-ce5c22f4f4b463c11c58de2990b8565c061cf58b.tar.gz
mpd-ce5c22f4f4b463c11c58de2990b8565c061cf58b.tar.xz
mpd-ce5c22f4f4b463c11c58de2990b8565c061cf58b.zip
condition: migrate from pthread to glib threads
Diffstat (limited to '')
-rw-r--r--src/condition.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/condition.h b/src/condition.h
index 48d8735ee..521e61daa 100644
--- a/src/condition.h
+++ b/src/condition.h
@@ -20,11 +20,11 @@
#ifndef MPD_CONDITION_H
#define MPD_CONDITION_H
-#include <pthread.h>
+#include <glib.h>
struct condition {
- pthread_mutex_t mutex;
- pthread_cond_t cond;
+ GMutex *mutex;
+ GCond *cond;
};
void cond_init(struct condition *cond);