In reply to Re^2: Semaphores failing to prevent race condition by Llew_Llaw_Gyffes in thread Semaphores failing to prevent race condition by Llew_Llaw_Gyffes