i know that these two ways are different, but i only wonna know if it
is better to use sleep or timer if there is a possibility to choose...
i.e. if the timer is taking much resources than i try to use the
sleep... thats what i thinked about...
but i think it is like ... sleep is using more resources
i have an app with a few timers...the app is always running ... one
timer to check if there is an update available... one timer to check a
freespace... one to check for a service...and so on... but these
things should be checked at different intervalls... so i thought about
using an alternative... but if a timer is ok than i will use timers...
On Fri, 21 Jan 2005 20:38:00 +0100, "Herfried K. Wagner [MVP]"
<hi***************@gmx.at> wrote:
"Thomas" <ei*@gmx.net> schrieb: what is the better solution if it is possible to choose?
a timer or sleep? which one is better for min resources?
This depends on what you want to archieve. Can you describe the scenario in
more detail?