Changeset 814 for trunk/dll/mle.c


Ignore:
Timestamp:
Aug 26, 2007, 11:50:07 PM (18 years ago)
Author:
Gregg Young
Message:

DosSleep(1) in loops changed to (0) to enhance performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mle.c

    r793 r814  
    1616  06 Aug 07 GKY Reduce DosSleep times (ticket 148)
    1717  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     18  26 Aug 07 GKY DosSleep(1) in loops changed to (0)
    1819
    1920***********************************************************************/
     
    503504                numimport -= howmuch;
    504505                memmove(hexbuff, hexbuff + howmuch, numimport);
    505                 DosSleep(1);
     506                DosSleep(0);  //26 Aug 07 GKY 1
    506507                if (!WinIsWindow(hab, h) || (vw && vw->killme))
    507508                  break;
     
    659660                  numread = tempnum;
    660661              }
    661               DosSleep(1);
     662              DosSleep(0); //26 Aug 07 GKY 1
    662663            }
    663664            else
     
    670671            WinSetWindowText(grandpa, s);
    671672          }
    672           DosSleep(1);
     673          DosSleep(0); //26 Aug 07 GKY 1
    673674        }
    674675        DosFreeMem(buffer);
Note: See TracChangeset for help on using the changeset viewer.