semaphores and Rlocks

Laura Creighton lac at strakt.com
Fri Dec 20 05:20:21 EST 2002


1. Don't use thread, use threading.
2. If at all possible, use Queues.  You almost never need to mess around
   with locks at all, it really is dead simple and you are probably making
   things harder for yourself than they need be because you remember some
   hard way you had to do it before.
3. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965 and
   the other recipes in the Python Cookbook about threads might get you
   started.

Laura




More information about the Python-list mailing list