2008-07-15: Selected articles now have experimental "comment" links in the left column and at the bottom. You're welcome to use them for commenting and voting on articles. For a bit more on this, see this page. /F

How do I program using threads?

Be sure to use the threading interface module and not the thread implementation module. The threading module builds convenient abstractions on top of the low-level primitives provided by the thread module.

Aahz has a set of slides from his threading tutorial that are helpful; see:

http://starship.python.net/crew/aahz/OSCON2001/

CATEGORY: library

 

A Django site. this page was rendered by a django application in 0.03s 2008-07-25 11:02:49.951343. hosted by webfaction.