[Python-ideas] An error in multiprocessing on MacOSX?

Sturla Molden sturla at molden.no
Tue Nov 27 01:26:36 CET 2012

Den 26. nov. 2012 kl. 23:11 skrev Richard Oudkerk <shibturn at gmail.com>:

> On 26/11/2012 9:23pm, Sturla Molden wrote:
>> BTW, fd passing is possible on Windows too, using DuplicateHandle. One can "inject" an open file handle into a different process, but some means of ipc (e.g. a pipe) must be used to communicate it's value.
> multiprocessing on Windows already depends on that feature;-)

Hmm, last time I looked at the code it used handle inheritance on Windows, which was why e.g. a lock or a file could not be sent over a pipe or queue.


More information about the Python-ideas mailing list