- Timestamp:
- Aug 31, 1999, 5:47:48 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/os2timer.cpp
r757 r758 1 /* $Id: os2timer.cpp,v 1. 9 1999-08-31 15:39:20phaller Exp $ */1 /* $Id: os2timer.cpp,v 1.10 1999-08-31 15:47:48 phaller Exp $ */ 2 2 3 3 /* … … 220 220 221 221 TimerThreadID = _beginthread(TimerHlpHandler, NULL, 0x4000, (void *)this); 222 //@@@PH: why the wait? DosSleep(100); 222 //@@@PH: logic sux ... waits for creation of semaphores 223 DosSleep(100); 223 224 } 224 225 /******************************************************************************/ … … 325 326 326 327 rc = DosCreateEventSem(NULL, &TimerSem, DC_SEM_SHARED, 0); 327 328 328 if(rc != 0) 329 { 330 dprintf(("WINMM: OS2Timer: DosCreateEventSem failed rc=#%08xh\n", rc)); 329 331 _endthread(); 330 331 dprintf(("WINMM: OS2Timer:Semaphore created\n")); 332 } 332 333 333 334 TimerStatus = Stopped;
Note:
See TracChangeset
for help on using the changeset viewer.