how to start a new thread from a GUI

Donn Cave donn at u.washington.edu
Thu Aug 16 21:43:06 CEST 2001


Quoth Brian Kelley <bkelley at wi.mit.edu>:
...
| Also be aware that whenever you use python's thread package with a
| purely python written program you will see slowdowns in the workers you
| are running. We have seen up to 30% speed loss between a threaded
| process and an unthreaded process. If speed is an issue you can set up
| the worker to run in a seperate python process and use pipes/sockets for
| update and control events. Python makes this fairly easy to do, although
| whenever you touch pipes/sockets you are getting into the realm of
| techno-weenie. Let me know if you need advice on this, we are trying to
| release some code to facilitate linux and windows out of process
| asynchrounous communication, but don't hold your breath.

Lose 30%??!!  Where does it go, do you have any idea?

	Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list