Idle: use std::atomic instead of GMutex
This commit is contained in:
12
src/Idle.hxx
12
src/Idle.hxx
@@ -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.
|
||||
|
Reference in New Issue
Block a user