[Python-ideas] Thread-safe generators

Stephen J. Turnbull turnbull.stephen.fw at u.tsukuba.ac.jp
Sat Apr 15 04:55:11 EDT 2017


Serhiy Storchaka writes:

 > The first thread just sets the running flag (as in current code). Due to 
 > GIL this doesn't need additional synchronization.

Can we assume this lack of additional synchronization for other
implementations?  If not, do we care?



More information about the Python-ideas mailing list