diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-12-28 21:02:14 +0100 |
---|---|---|
committer | Thomas Jansen <mithi@mithi.net> | 2008-12-28 21:02:14 +0100 |
commit | 8332a70406140cbc7594ca9d54cb9a600b470bb4 (patch) | |
tree | 29a4266a8cda671bf375027eaef8b94ffe6a0a98 /src/idle.h | |
parent | 5e3dc6946f13e721030b887b60e383b58879bc62 (diff) | |
download | mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.tar.gz mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.tar.xz mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.zip |
idle: migrate from pthread to glib threads
Diffstat (limited to 'src/idle.h')
-rw-r--r-- | src/idle.h | 12 |
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. */ |