aboutsummaryrefslogtreecommitdiffstats
path: root/src/idle.h
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-28 21:02:14 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-28 21:02:14 +0100
commit8332a70406140cbc7594ca9d54cb9a600b470bb4 (patch)
tree29a4266a8cda671bf375027eaef8b94ffe6a0a98 /src/idle.h
parent5e3dc6946f13e721030b887b60e383b58879bc62 (diff)
downloadmpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.tar.gz
mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.tar.xz
mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.zip
idle: migrate from pthread to glib threads
Diffstat (limited to '')
-rw-r--r--src/idle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/idle.h b/src/idle.h
index 5079f09db..d65575ebe 100644
--- a/src/idle.h
+++ b/src/idle.h
@@ -49,6 +49,18 @@ enum {
};
/**
+ * Initialize the mutex
+ */
+void
+idle_init(void);
+
+/**
+ * Destroy the mutex
+ */
+void
+idle_deinit(void);
+
+/**
* Adds idle flag (with bitwise "or") and queues notifications to all
* clients.
*/