Home

In article <1186760055.658942.116300@x40g2000prg.googlegroups.com>,
king kikapu <aboudouvas@panafonet.gr> wrote:

> Hi,
>
> inspired of the topic "The Future of Python Threading", i started to
> realize that the only way to utilize the power of multiple cores using
> Python, is spawn processes and "communicate" with them.
>
> If we have the scenario:
>
> 1. Windows (mainly) development
> 2. Processes are running in the same machine
> 3. We just want to "pass" info from one process to another. Info may
> be simple data types or user defined Python objects.
>
> what is the best solution (besides sockets) that someone can implement
> so to have 2 actually processes that interchanged data between them ?
> I looked at Pyro and it looks really good but i wanted to experiment
> with a simpler solution.

Hi King Kikapu
There's a shared memory module for Python, but it is *nix only, I'm
afraid. I realize you said "mainly Windows" but this module seems to do
what you want so maybe you can work out a creative solution.

http://NikitaTheSpider.com/python/shm/

Good luck with whatever you choose

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more

previous
next

Re: help a n00b with a Zope site-package install
Re: How we recognize newbies as newbies
Little Question (Not Technical but .. Educational?)
Wrapper functions and arguments
Re: what the result of average_time have negative
Fundacja Sloneczko
Kidprotect
Krwinka
Akogo
Fundacja Avalon