[fpc-pascal] Suspending app

Tomas Hajny XHajT03 at mbox.vol.cz
Thu Jun 23 16:31:04 CEST 2005

Darius Blaszijk said:
> Hi,
> I have an app that checks several files continuously and when the fileage
> has changed the app performs some instructions. I have put the checks in a
> loop. The drawback is that the processor is now 100% loaded. I could use
> the
> FindFirstChangeNotification API on windows. But is there a crossplatform
> alternative??

"SysUtils.Sleep (5)", or "Drivers.GiveUpTimeSlice" (unit Drivers is part
of FreeVision).


More information about the fpc-pascal mailing list