[fpc-pascal] Suspending app
SteveG
steveg at nevets.com.au
Tue Jun 21 20:23:17 CEST 2005
perhaps create a thread for your file checking code, and Sleep(xx)
regularly to release the processor ?
Darius Blaszijk wrote:
> 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??
>
> Darius Blaszijk
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
More information about the fpc-pascal
mailing list