Clock Semaphore is now created with a value of '0' -PhracturedBlue

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@471 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
ghaushe
2002-12-23 02:29:18 +00:00
parent e0aad4e54a
commit 4caa03e8dd
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
0.2:
- Clock semaphore is now created with a value of 0 -PhracturedBlue
- Rewrote Semaphore debugging code to be more useful - PhracturedBlue
- Better fix for clearing load/save screen - fOSSiL
- Implemented bilinear scaling in pure SDL mode - Mika
+4 -1
View File
@@ -264,6 +264,9 @@ InitGlobData (void)
GLOBAL (glob_flags) = (BYTE)i;
GLOBAL (DisplayArray) = DisplayArray;
(GLOBAL (GameClock)).clock_sem = CreateSemaphore(1, "Clock");
// The clock semaphore was initially initialized as '1'
// but it is always cleared before set, so it toggled between
// 2 and 1, which doesn't actually do anything
(GLOBAL (GameClock)).clock_sem = CreateSemaphore(0, "Clock");
}