Re: Kill GIL
aahz@pythoncraf t.com (Aahz) writes:
[color=blue]
> In article <868y5t6sal.fsf @guru.mired.org >, Mike Meyer <mwm@mired.or g> wrote:[color=green]
>>
>>Here here. I find that threading typically introduces worse problems
>>than it purports to solve.[/color]
> Threads are also good for handling blocking I/O.[/color]
Actually, this is one of the cases I was talking about. I find it
saner to convert to non-blocking I/O and use select() for
synchronization . That solves the problem, without introducing any of
the headaches related to shared access and locking that come with
threads.
<mike
--
Mike Meyer <mwm@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
aahz@pythoncraf t.com (Aahz) writes:
[color=blue]
> In article <868y5t6sal.fsf @guru.mired.org >, Mike Meyer <mwm@mired.or g> wrote:[color=green]
>>
>>Here here. I find that threading typically introduces worse problems
>>than it purports to solve.[/color]
> Threads are also good for handling blocking I/O.[/color]
Actually, this is one of the cases I was talking about. I find it
saner to convert to non-blocking I/O and use select() for
synchronization . That solves the problem, without introducing any of
the headaches related to shared access and locking that come with
threads.
<mike
--
Mike Meyer <mwm@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Comment