[Python-ideas] A concurrency survey of sorts

Amaury Forgeot d'Arc amauryfa at gmail.com
Fri Nov 4 19:13:29 CET 2011


2011/11/4 Weeble <clockworksaint at gmail.com>

> > Regardless, I still think the GIL should be fixed or the threading module
> > removed. It's disingenuous to have a threading module when it doesn't
> work
> > as advertised due to an interpreter "feature" of dubious merit anyway.
>
> Is this a serious proposal? Without threads, is there any reasonable
> cross-platform way to communicate interactively with multiple subprocesses
> over pipes? Windows doesn't have select. I don't *like* using threads, but
> as far as I can tell they're the only available way to do this.
>
Windows does have a select(), even if this only works for sockets,
(you can use WaitForSingleObject for any win32 handle)
and the Twisted reactor has a spawnProcess() function that works without
any additional thread.

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20111104/b5e3d0d2/attachment.html>


More information about the Python-ideas mailing list