win32/Ticker.c:startTicker(),
win32/IOManager.c:NewIOWorkerThread():
pass in non-NULL pointer to _beginthreadex()'s outgoing thread ID arg.
Needed to work with Win9x's impl of CreateThread().
BOOL
NewIOWorkerThread(IOManagerState* iom)
{
+ unsigned threadId;
return ( 0 != _beginthreadex(NULL,
0,
IOWorkerProc,
(LPVOID)iom,
0,
- NULL) );
+ &threadId) );
}
BOOL
int
startTicker(nat ms)
{
-
+ unsigned threadId;
/* 'hStopEvent' is a manual-reset event that's signalled upon
* shutdown of timer service (=> timer thread.)
*/
TimerProc,
(LPVOID)ms,
0,
- NULL) );
+ &threadId) );
}
int