Simple threading thing

Thomas Weholt thomas at gatsoft.no
Thu Feb 28 10:51:13 EST 2002


I got a webserver based on BaseHTTPServer using threads. When it starts I
want to create a seperate process, a thread, that goes into the background
and checks the server on given intervals, clearing expired sessions etc. I
cannot get the created thread to pass control back to the server and let it
continue. It just sleeps the specified interval and then does it thing then
sleeps again. The server never gets into action at all.

Any clues?

Best regards,
Thomas Weholt





More information about the Python-list mailing list