#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    34
    Rep Power
    11

    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
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    There are many examples of the use of threading in the forum:

    Try this one:
    http://forums.devshed.com/t163168/s....ight=threading

    grim
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    34
    Rep Power
    11
    Thanks a ton I was beginning to lose hope; had resorted to a slideshow i found on the usenet groups.

IMN logo majestic logo threadwatch logo seochat tools logo