(empth_sleep) [_WIN32]: Remove a change to the random seeding

that accidently got committed in rev 1.65.  Was incorrect in rev 1.66.

(empth_sleep) [_WIN32]: Switch srand() to srandom() to be consistent
with the rest of the empire code.
This commit is contained in:
Ron Koenderink 2007-10-20 12:59:49 +00:00
parent f449c3f8a4
commit 0627deae05

View file

@ -348,7 +348,7 @@ empth_threadMain(void *pvData)
* In WIN32, each thread has seed
*/
time(&now);
srand( ^ (unsigned)pThread);
srandom(now ^ (unsigned)pThread);
/* Switch to this thread context */
loc_RunThisThread(NULL);