From ce5c22f4f4b463c11c58de2990b8565c061cf58b Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Sun, 28 Dec 2008 22:09:42 +0100 Subject: condition: migrate from pthread to glib threads --- src/condition.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/condition.h') 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 +#include struct condition { - pthread_mutex_t mutex; - pthread_cond_t cond; + GMutex *mutex; + GCond *cond; }; void cond_init(struct condition *cond); -- cgit v1.2.3