
July 25th, 2004, 11:08 PM
|
|
Contributing User
|
|
Join Date: Jul 2004
Posts: 34
Time spent in forums: < 1 sec
Reputation Power: 9
|
|
|
need multithreading help
First of all, I have searched the forums, and someone who asked a similar question was directed to the python reference documents. I have read them all several times, and have googled the topic many a time, but I still cannot get any sufficient direction in this python multithreading issue.
so, i'm writing a server in python. i understand from the reference documents that not only are the __init__() and run() methods the only methods you may override in the Threads class, but it is a good idea to do this. I'm simply asking for a code example of how to drop an object into a thread, write code for the thread to deal with that object, and start it without a second thought. All help is greatly appreciated.  Thanks much,
Daniel
|