Re: sleep( ) in DOS32

new topic     » goto parent     » topic index » view thread      » older message » newer message

Rubens Monteiro Luciano wrote:

> > 
> > Hi,
> > 
> >  How do I sleep less than 1 second in DOS32 ?
> >  Is there anyway to simulate a sleep of 500 miliseconds, for example ?
> >  The system must stay free during this time.
> >  Maybe it=B4s time to have a sleep_miliseconds( ) function...

Try please my polyglot.zip package on RDS site.
There is the deLay() procedure, which calibrate delay on given machine
and can then give you to sleep microseconds.

It is 3.2 microseconds minimum delay on my P166MMX.

Lib is p-misc.e.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu