[fpc-pascal]Waiting for X seconds?

Michael Vogel icarus at dabo.de
Sun Sep 2 16:39:23 CEST 2001


Hi!

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?)

Thanks!

Michael
-- 
The only way to get rid of a temptation is to yield to it.
		-- Oscar Wilde




More information about the fpc-pascal mailing list