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
This commit is contained in:
@@ -208,7 +208,7 @@ CreateThreadAux (ThreadFunction func, void *data, SDWORD stackSize
|
|||||||
|
|
||||||
// Signal to the new thread that the thread structure is ready
|
// Signal to the new thread that the thread structure is ready
|
||||||
// and it can begin to use it.
|
// and it can begin to use it.
|
||||||
SDL_SemPost (startInfo->sem);
|
ClearSemaphore (startInfo->sem);
|
||||||
|
|
||||||
(void) stackSize; /* Satisfying compiler (unused parameter) */
|
(void) stackSize; /* Satisfying compiler (unused parameter) */
|
||||||
return thread;
|
return thread;
|
||||||
|
|||||||
Reference in New Issue
Block a user