Newsgroups: comp.parallel.pvm
From: yogeshw@cs.utexas.edu (Yogesh S. Wagle)
Subject: pvm_exit() in a spawned pvm task
Organization: CS Dept, University of Texas at Austin
Date: 19 Jul 1994 15:51:05 -0500
Message-ID: <30hebp$8h2@pageboy.cs.utexas.edu>

Hi,

I was under the impression that in a pvm task, we can call
pvm_exit() and then pvm_mytid() multiple times without any problems.
Such is indeed the case with pvm processes started directly (by
invoking the executable at the command prompt).

But I observed that such is not the case in a spawned pvm task:
i.e a task created by a pvm_spawn() call in some other pvm
process.

It seems that a pvm_exit() in such a task is equivalent to a normal
exit(). The control will not go the the immediately following
pvm_mytid() call.

Is this observation correct and if so, is there a way around this ?

thanks in advance,

yogesh



