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 | 36b8968e36959451c03a7ca8b210d01114a3ee56 (patch) | |
tree | 8d9aa789baf8945bcda8e9a7fcfa1602b88b2871 /src/output_internal.h | |
parent | 28128dc4e3c0cd581e868404034aba120c8b56c1 (diff) | |
download | mpd-36b8968e36959451c03a7ca8b210d01114a3ee56.tar.gz mpd-36b8968e36959451c03a7ca8b210d01114a3ee56.tar.xz mpd-36b8968e36959451c03a7ca8b210d01114a3ee56.zip |
output: migrate from pthread to glib threads
Diffstat (limited to '')
-rw-r--r-- | src/output_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/output_internal.h b/src/output_internal.h index b71508ff7..0cdbbdc2c 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -23,7 +23,6 @@ #include "pcm_utils.h" #include "notify.h" -#include <pthread.h> #include <time.h> struct audio_output { @@ -84,10 +83,10 @@ struct audio_output { size_t convBufferLen; /** - * The thread handle, or "0" if the output thread isn't + * The thread handle, or NULL if the output thread isn't * running. */ - pthread_t thread; + GThread *thread; /** * Notify object for the thread. |