From 8332a70406140cbc7594ca9d54cb9a600b470bb4 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Sun, 28 Dec 2008 21:02:14 +0100 Subject: idle: migrate from pthread to glib threads --- src/idle.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/idle.h') diff --git a/src/idle.h b/src/idle.h index 5079f09db..d65575ebe 100644 --- a/src/idle.h +++ b/src/idle.h @@ -48,6 +48,18 @@ enum { IDLE_OPTIONS = 0x40, }; +/** + * 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. -- cgit v1.2.3