Threading Question

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


David Lees <Davidl at niospammyraqia.com> 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.

Cheers,
M.

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



More information about the Python-list mailing list