Newsgroups: comp.parallel.pvm
From: bubeck@peanuts.informatik.uni-tuebingen.de (Till Bubeck)
Subject: Re: Problemssending a pointer
Organization: Technische Informatik, Uni Tuebingen
Date: 2 Feb 1995 08:10:11 GMT
Message-ID: <3gq413$7ha@wsiserv.informatik.uni-tuebingen.de>

Eduardo Costa Jacober (jacober@lsi.usp.br) wrote:

: 	How do I send one pointer to another task?
: 	Is there a way way to do that?
: 	If it's possible, a pointer sent to two different tasks points
: to the same adress?

PVM in its pure form does not implement any kind of shared
memory. This means, that sending a pointer to another task is invalid
(One exception is sending a pointer to a function, if the *same*
program image is running on nodes of the same kind).

If you want to send a pointer to a user structure, then you have to send
the referenced data, too. But then it is not neccessary to send the
pointer anymore.

Hope that helps,
   Till

                ,,,
               (o o)
-----------oOO--(_)--OOo-------------------------------------------
|  Tilmann Bubeck            |   _||__                            |
|  Universitaet Tuebingen    |  /   . | <- Berlin                 |
|  Technische Informatik     |  |    _/                           |
|  Sand 13, 72076 Tuebingen  |  |_   \                            |
|  Germany                   |   /*__/ <- University of T"ubingen |
|------------------------------------------------------------------
|  Tel: +49 7071 295865     Fax: +49 7071 610399                  |
|  Email: bubeck@peanuts.informatik.uni-tuebingen.de              |
|  WWW/Mosaic: http://www-ti.informatik.uni-tuebingen.de/~bubeck  |
-------------------------------------------------------------------

