Changeset 758 for trunk/src


Ignore:
Timestamp:
Aug 31, 1999, 5:47:48 PM (26 years ago)
Author:
phaller
Message:

.

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:20 phaller Exp $ */
     1/* $Id: os2timer.cpp,v 1.10 1999-08-31 15:47:48 phaller Exp $ */
    22
    33/*
     
    220220
    221221  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);
    223224}
    224225/******************************************************************************/
     
    325326
    326327  rc = DosCreateEventSem(NULL, &TimerSem, DC_SEM_SHARED, 0);
    327 
    328328  if(rc != 0)
     329  {
     330    dprintf(("WINMM: OS2Timer: DosCreateEventSem failed rc=#%08xh\n", rc));
    329331      _endthread();
    330 
    331   dprintf(("WINMM: OS2Timer:Semaphore created\n"));
     332  }
    332333
    333334  TimerStatus = Stopped;
Note: See TracChangeset for help on using the changeset viewer.