[fpc-pascal]dos approx delay fn that releases cpu
tom_at_work at yline.com
Wed May 9 08:06:05 CEST 2001
> > interupts and doing a dos idle in between (believe that releases cpu in
> > NT/w2000???). Anyone know exactly the code for that would look...?
>NT (and 2000) have a function specifically for this purpose,
>WaitForSingleObject (Sleep is also available but GUI programs should avoid
>using Sleep). This function returns if either the object is waits for
>becomes signaled or the timeout interval elapses. We can simply use our own
Imho John is in search of a cpu-releasing delay routine which works for
GO32V2 programs in a NT VDM.
More information about the fpc-pascal