how to call a function for evry 10 secs

Laurent Claessens moky.math at gmail.com
Thu Jun 30 03:05:34 EDT 2011


> 	But if the function itself runs for longer than 10 seconds, there
> will be a major problem, as the sleep apparently takes the argument as
> unsigned, and a negative number is a very big sleep!

Launch each call in a separate thread. If the calls are independent, 
this could be a solution.

Laurent



More information about the Python-list mailing list