[Python-ideas] Fwd: Concurrent safety?
Paul Moore
p.f.moore at gmail.com
Wed Nov 2 20:31:12 CET 2011
On 2 November 2011 18:10, Mike Meyer <mwm at mired.org> wrote:
> You don't have to do anything. Iterators need to lock themselves to be
> safe in concurrent use, so this will work fine, with the temporary
> iterator doing whatever locking is needed.
So all iterators automatically lock themselves? Sounds like
potentially quite an overhead.
But you've obviously thought about it (even if I don't follow all the
details) so I'll leave it at that.
Paul.
More information about the Python-ideas
mailing list