xmlrpc idea for getting around the GIL

Antoine Pitrou solipsis at pitrou.net
Tue Nov 24 10:13:29 EST 2009


Le Tue, 24 Nov 2009 02:53:30 -0800, sturlamolden a écrit :
> On 22 Nov, 22:38, Patrick Stinson <patrickstinson.li... at gmail.com>
> wrote:
> 
>> Has anyone every tried wrapping the CPython lib into a daemon with an
>> RPC mechanism in order to move the GIL out of the process?
> 
>> I imagine this is how the multiprocessing module works.
> 
> It does not.

Actually, it is how multiprocessing works under Windows (for lack of the 
fork() function), except that it uses pickle by default (but it does have 
xmlrpc support).

Regards

Antoine.





More information about the Python-list mailing list