61dc808 Replace racy recursive mutex implementation with proper recursive mutexes

Authored and Committed by jwrdegoede 9 years ago
    Replace racy recursive mutex implementation with proper recursive mutexes
    
    - Use XPending instead of XSync + XeventsQueued to avoid a deadlock
    
        
file modified
+11 -1