Speeding up network access: threading?
Antoine Pitrou
solipsis at pitrou.net
Tue Jan 5 12:43:06 EST 2010
Le Tue, 05 Jan 2010 15:04:56 +0100, Jens Müller a écrit :
>
> Is a list thrad-safe or do I need to lock when adding the results of my
> worker threads to a list? The order of the elements in the list does not
> matter.
The built-in list type is thread-safe, but is doesn't provide the waiting
features that queue.Queue provides.
Regards
Antoine.
More information about the Python-list
mailing list