Idle: use std::atomic instead of GMutex

This commit is contained in:
Max Kellermann
2013-01-16 23:20:56 +01:00
parent d769b74d61
commit 36c814d26e
4 changed files with 6 additions and 45 deletions

View File

@@ -61,18 +61,6 @@ enum {
IDLE_MESSAGE = 0x400,
};
/**
* 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.