Try to approximate condvars on win xp better

This prevents releasing the semaphore while no one is waiting, which better matches the behavior of real condition variables.

-[Unknown]