opdenkamp/xbmc — comment on commit b4a1dcac8c9f979a71356d5b2054bdc0d3d111a2
File:  line 0
By FernetMenta:

In order to cope with the non-existent condition varibles on Win XP you could follow Windows implementation of CEvent which is IMO not that bad. Make CEvent a subclass of CMutex,on Windows this is already the case. Then CEvent can be locked prior to waiting for the event.