Thread/Thread: replacement library for GThread

This commit is contained in:
Max Kellermann
2013-10-17 18:42:14 +02:00
parent f6d74012b7
commit 8e676db633
21 changed files with 309 additions and 97 deletions
+2 -2
View File
@@ -24,6 +24,7 @@
#include "pcm/PcmBuffer.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Thread.hxx"
#include <time.h>
@@ -31,7 +32,6 @@ class Error;
class Filter;
class MusicPipe;
struct config_param;
typedef struct _GThread GThread;
typedef struct _GTimer GTimer;
enum audio_output_command {
@@ -200,7 +200,7 @@ struct audio_output {
* The thread handle, or NULL if the output thread isn't
* running.
*/
GThread *thread;
Thread thread;
/**
* The next command to be performed by the output thread.