diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-12-28 22:09:42 +0100 |
---|---|---|
committer | Thomas Jansen <mithi@mithi.net> | 2008-12-28 22:09:42 +0100 |
commit | ce5c22f4f4b463c11c58de2990b8565c061cf58b (patch) | |
tree | fd9c85f5938dec1d3a7d7e8e7b42900d55292dd1 /src/condition.h | |
parent | 248cd50a20d1756413340061f8f18d82d68a8859 (diff) | |
download | mpd-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.h | 6 |
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); |