Remove the Xp specific threading code.
Reapply @elupus 's fix to the Condition variable for windows. This also handles the case where the CritSec used for the ConditionVariable is entered more than once; something the native windows calls don't allow.
Merge pull request #3145 from jimfcarroll/removexp

Remove the Xp specific threading code.