[fpc-pascal]Waiting for X seconds?
mirek.novak at auto.cz
Mon Sep 3 13:57:02 CEST 2001
Try Alarm() and Pause(). see manual for more info (units.pdf - 11.3.
FUNCTIONS AND PROCEDURES).
Michael Vogel píše:
> I just want to write a small daemon that has to look every X seconds, if a
> special situtation exists and then had to react.
> Now I just could make a repeat until-loop, but I guess that would cost to
> much CPU-time?
> What is the right method to tell a programm to sleep for X seconds?
> (and how to fork?)
> The only way to get rid of a temptation is to yield to it.
> -- Oscar Wilde
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 287 bytes
Desc: Vizitka - Mirek Novak
More information about the fpc-pascal