[IronPython] multiprocessing in 2.7

Romain Gilles romain.gilles at gmail.com
Sun Mar 27 15:26:44 PDT 2011


Hi Markus,
Thanks for your answer. I already know that and I have started to develop my
solution based on threading module. But, there is always a but, I'm working
with WebBrowser and I want to run multi concurrent instances and each
instance must have its own session. Unfortunately to get a session
independence for each WebBrowser instance I need to get a process per
instance :(. That's why I need to use multiprocess module. Maybe someone can
help me to find a way to get session isolation without multiprocess usage?

Thanks,

Romain

2011/3/24 Markus Schaber <m.schaber at 3s-software.com>

> Hi, Romain,
>
> Romain Gilles wrote:
> > from multiprocessing import Process
>
> A small remark:
> The main usage of the multiprocessing module is to work around the global
> interpreter lock (GIL) in cPython.
>
> As IronPython does not have that GIL, maybe you can create a scalable
> application just fine without the multiprocessing module, maybe using the
> .NET ThreadPools
>
> Grüße,
> Markus
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20110328/190eaf8e/attachment.htm>


More information about the Users mailing list