[Python-3000] the future of the GIL
jcarlson at uci.edu
Thu May 10 05:38:49 CEST 2007
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Giovanni Bajo wrote:
> > using multiple processes cause some
> > headaches with frozen distributions (PyInstaller, py2exe, etc.), like those
> > usually found on Windows, specifically because Windows does not have fork().
> Isn't that just a problem with Windows generally? I don't
> see what the method of packaging has to do with it.
> Also, I've seen it suggested that there may actually be
> a way of doing something equivalent to a fork in Windows,
> even though it doesn't have a fork() system call as such.
> Does anyone know more about this?
Cygwin emulates fork() by creating a shared mmap, creating a new child
process, copying the contents of the parent process' memory to the child
process (after performing the proper allocations), then hacks up the
child process' call stack.
More information about the Python-3000