On Tue, Mar 31, 2009 at 02:15:04PM +0000, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
the only way to pass data between them would be through pipes or the shared memory interface, which only can pass strings. You could just as well run several pike processes.
the Remote interface provides support for passing more elaborate datastructures.
it could be interesting to have an interface that looks like threads but essentially runs multiple processes and hides the multiprocess communication from the user.
starting a 'thread' would create a new process and run the given function, using Remote to pass data between the 'threads'
i think the result would be the same as pythons multiprocessor module.
greetings, martin.