Threading Question

Michael Hudson mwh at
Fri May 4 16:48:43 CEST 2001

David Lees <Davidl at> writes:

> The code I am actually working on is for handeling sockets.  I am pretty
> careful and am passing things in a threadsafe manner between them.  Is
> there any way I can release the lock without writing C code?

The lock is released around operations that might block, eg. file or
socket reads.  So your app can probably benefit from threading.  Pure
Python stuff won't.


  Java is a WORA language! (Write Once, Run Away)
                	-- James Vandenberg (on progstone at
                           & quoted by David Rush on comp.lang.scheme

More information about the Python-list mailing list