From 73822d45512367249086babe77c575f9345cd3a6 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Mon, 16 Sep 2002 20:42:12 +0000 Subject: [PATCH] Fixed bug in line 211 (replaced SDL_SemPost with ClearSemaphore) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@46 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/threads/thrcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/threads/thrcommon.c b/sc2/src/sc2code/libs/threads/thrcommon.c index 92d5cad00..406d98794 100644 --- a/sc2/src/sc2code/libs/threads/thrcommon.c +++ b/sc2/src/sc2code/libs/threads/thrcommon.c @@ -208,7 +208,7 @@ CreateThreadAux (ThreadFunction func, void *data, SDWORD stackSize // Signal to the new thread that the thread structure is ready // and it can begin to use it. - SDL_SemPost (startInfo->sem); + ClearSemaphore (startInfo->sem); (void) stackSize; /* Satisfying compiler (unused parameter) */ return thread;