comparison Makefile @ 30810:60c9c064d43f

Fix semaphore behavior in WaitForSingleObject. Two simple bugfixes for semaphores in WaitForSingleObject: First, semaphore count should be decreased on loading the semaphore, not increased. The case for duration=0 had this wrong (duration=-1 was fine). Second, the code for duration=-1 forgot to set the return value, so it would always return WAIT_FAILED.
author sesse
date Sat, 06 Mar 2010 10:07:39 +0000
parents 82dd2fbdb772
children c121d03db8b9
comparison
equal deleted inserted replaced
30809:d01c83dcb634 30810:60c9c064d43f