I've written a POP3 checker and wonder what is the best way to check for email every so often.
Is it better to use a timer, a thread, or just call the program at an interval from another program?
Calling from another program actually has some advantage as it can also be used to launch/monitor multiple programs.
Using a thread is easy, but may not be the best way.
Is it better to use a timer, a thread, or just call the program at an interval from another program?
Calling from another program actually has some advantage as it can also be used to launch/monitor multiple programs.
Using a thread is easy, but may not be the best way.
Comment