aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag_pool.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
commit28128dc4e3c0cd581e868404034aba120c8b56c1 (patch)
tree3569ab9438b8de85455197fa28d00df067f9b7e3 /src/tag_pool.h
parentce5c22f4f4b463c11c58de2990b8565c061cf58b (diff)
downloadmpd-28128dc4e3c0cd581e868404034aba120c8b56c1.tar.gz
mpd-28128dc4e3c0cd581e868404034aba120c8b56c1.tar.xz
mpd-28128dc4e3c0cd581e868404034aba120c8b56c1.zip
tag & tag_pool: migrate from pthread to glib threads
Diffstat (limited to 'src/tag_pool.h')
-rw-r--r--src/tag_pool.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tag_pool.h b/src/tag_pool.h
index bfcce2fbf..de52672bd 100644
--- a/src/tag_pool.h
+++ b/src/tag_pool.h
@@ -21,12 +21,16 @@
#include "tag.h"
-#include <pthread.h>
+#include <glib.h>
-extern pthread_mutex_t tag_pool_lock;
+extern GMutex *tag_pool_lock;
struct tag_item;
+void tag_pool_init(void);
+
+void tag_pool_deinit(void);
+
struct tag_item *tag_pool_get_item(enum tag_type type,
const char *value, int length);