On Mar 9, 1:03 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> Are lists thread safe?  Or do I have to use a Lock when modifying the
> list (adding, removing, etc)?  Can you point me to some documentation
> on this?
>
> thanks


Yes there are still some holes which can bite you.  Adding and
removing is thread safe but don't treat the list as locked between
operations unless you specifically do your own locking.  You still
need to be on the lookout for race conditions.

Greg

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to