Time limited threads?

Miki Tebeka tebeka at lycosmail.com
Wed Jan 31 07:44:21 EST 2001


Hello All,

Is there a way I can limit a threads execution time? (and then resume it
later?)

Background:
We're giving an exercise in scheduling.
I'd like to give the students a service that runs one thread for a given
time quota.
Then they will write the scheduler.

Thanks
----------------------------------------------------------------------------
--
Smile, damn it, smile.

lambda msg: {
 'name' : 'Miki Tebeka',
 'email' : 'tebeka at lycosmail.com',
 'homepage' : 'www.tebeka.freeservers.com',
 'quote' : "I don't suffer from insanity, I enjoy every minute of it."
}[msg]






More information about the Python-list mailing list