Hi all,
i want to develop one windows service wherein i want to run task
continuously after certain interval.
So what i did is i created one thread and in that thread i have written
one endless loop.
In this loop after processing is completed i call sleep method to wait
for some amount of time.
Is there any harm in this logic? Is there any maximum limit set for
thread to run. If i run this thread say for 20-30 days will it create
any problem?.
Please correct me if i am wrong.
thanks in advance.