threads, mutual exclusion, and lists

"Martin v. Löwis" martin at v.loewis.de
Thu Aug 16 12:54:50 EDT 2007


>> Why do you think they are not?
> 
> Because they aren't. You even mentioned that a few operations that
> aren't atomic. 

OTOH, the OP specifically asked for .append() and .pop(), which are
atomic.

Regards,
Martin



More information about the Python-list mailing list