Newsgroups: comp.parallel.pvm
From: adilger@enel.ucalgary.ca (Andreas Dilger)
Subject: Re: help with pvm_notify
Organization: ECE Department, U. of Calgary, Calgary, Alberta, Canada
Date: 19 Mar 1996 07:22:26 GMT
Message-ID: <4ilnbi$pbm@ds2.acs.ucalgary.ca>

In article <4ik16j$ha8@pulp.ucs.ualberta.ca>,
Alvin Poon <aspoon@ee.ualberta.ca> wrote:
>I have a problem with pvm_notify.  Can anyone help me out with it?

I had a similar problem as you describe (ie not notification of tasks
exiting), but it wasn't crucial to the operation of my software so
I ignored it.  The pvm_notify began to work once I upgraded PVM to 3.3.10,
when I started getting unknown messages sent to the reciever, which
turned out to be coming from the pvm_notify call.

>The question is: how can I get this to work?  Also, is it safe to
>free my list of daemon TIDs before the program exits, or does freeing
>the structure cancels the pvm_notify calls related to the daemon list?

While I can't vouch for how it is actually done, the programmers would
have to be insane to assume that an array passed to a subroutine is
static, so I would say yes, it is safe to free it.

Cheers, Andreas (your southern neighbour - Go Flames Go).
-- 
Andreas Dilger   University of Calgary  \"If a man ate a pound of pasta and
(403) 220-8792   Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical & Computer Engineering \   cancel out, leaving him still
http://www-mddsp.enel.ucalgary.ca/People/adilger/       hungry?" -- Dogbert

