[Tutor] why list is not thread-safe, but deque and queue are thread-safe?

spawgi at gmail.com spawgi at gmail.com
Wed May 2 16:44:05 CEST 2012


http://stackoverflow.com/questions/6319207/are-lists-thread-safe



On Wed, May 2, 2012 at 7:58 PM, Lion Chen <chnlion79 at gmail.com> wrote:

> Hi, All,
> i can not understand why list is not thread-safe, but deque and queue
> are thread-safe?
>
> that's all. thanks.
>
> Lion Chen
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
http://spawgi.wordpress.com
We can do it and do it better.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120502/4822eafa/attachment.html>


More information about the Tutor mailing list