[Tutor] refresh-function
Thomas Jacobsen
thomas.jacobsen@sveg.se.sykes.com
Mon, 27 May 2002 12:34:34 +0200
Hi,
I have a program that needs a function that is running in a "while 1:" loop,
that runs with an interval, while other parts of the program is running.
I was thinking of start the function in a thread, and use a time.sleep
method, so the whole program doesn't sleep, but i don't know if this is the
right/best way to do it.
Any suggestions?
Thomas
"Knowledge is of two kinds. We know a subject ourselves, or we know where we
can find information on it." -- Samuel Johnson