[Python-Dev] "Fixing" the new GIL

Nick Coghlan ncoghlan at gmail.com
Sun Mar 14 04:32:51 CET 2010


Brett Cannon wrote:
> 
> 
> On Sat, Mar 13, 2010 at 13:52, Benjamin Peterson <benjamin at python.org
> <mailto:benjamin at python.org>> wrote:
> 
>     2010/3/13 Antoine Pitrou <solipsis at pitrou.net
>     <mailto:solipsis at pitrou.net>>:
>     > Any thoughts?
>     \
>     The latter solution seems best to me as it would help any 3rd party IO
>     libraries and require less code modification.
> 
> 
> Plus the interactiveness approach has been tested by OS thread
> schedulers for years and is shown to work. So I vote for the latter
> approach as well.

+1

Cheap to calculate and means developer don't need to guess if they
should be using the "I am CPU bound" or the "I am IO bound" GIL
acquisition macro.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list