threading module timer object

.d.hos dhostetler at sopris.net
Tue Feb 4 13:19:03 EST 2003


> BTW, what you're doing is kind of 'hacky' (weird).  What is is that
> you're try to to do?

quite possiably - I'm a python newbie trying to learn OOP :)

with your suggestion, I get the error "flagIt() argument after * must
be a sequence"

basically we're doing some logging in which the worker threads collect
data, dump to returned values to the queue, and then log that data to
our database. Occasionally the thread hangs while waiting for a reply
from an unresponsive source; I was hoping to catch the threads that
hang, and insert an exception into the db.

I've tried finding other examples of the timer object on the web, but
have not been successful. any starting points?




More information about the Python-list mailing list