xmlrpc idea for getting around the GIL

sturlamolden sturlamolden at yahoo.no
Tue Nov 24 12:27:24 EST 2009


On 24 Nov, 16:13, Antoine Pitrou <solip... at pitrou.net> 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).

Windows does not have daemons, so this is obviously incorrect. (There
are something called Windows Services, but multiprocessing does not
use them.)

Multiprocessing on Windows uses the subprocess module.














More information about the Python-list mailing list