multiprocessing module (PEP 371)

sturlamolden sturlamolden at yahoo.no
Thu Jun 5 12:15:21 CEST 2008


On Jun 5, 11:02 am, pataphor <patap... at gmail.com> wrote:

> This is probably not very central to the main intention of your post,
> but I see a terminology problem coming up here. It is possible for
> python objects to share a reference to some other object. This has
> nothing to do with threads or processes, although it can be used as a
> *mechanism* for threads and processes to share data.

It is complicated in the case of processes, because the object must be
kept in shared memory. The complicating factor is that the base
address of the memory mapping, which is not guaranteed to be the same
in the virtual address space of different processes.






More information about the Python-list mailing list