Newsgroups: comp.parallel.pvm
From: "Trey Harragan" <harragan@sbcm.com>
Subject: Win32 pvm_sendsig()
Organization: sbcm
Date: Thu, 24 Oct 1996 16:20:23 GMT
Message-ID: <01bbc1c7$1f35e8e0$900a13ac@ejh>

I really want/need this to work!

If my analysis is correct, it seems that it is broken due to the use of
fake process id's (PVMEPID env var stuff).
When pvmd attempts to kill (Terminate in Win32 parlance ) a process it uses
the fake pid (which hopefully doesn't exist!).

I wonder what approach to take to fix this.  Two ideas come to mind:
1) use native NT pid's
2) store native NT pid in pvm's 'task' structure so that it can be later
looked up in dm_sendsig()

My inclination is #1 would be the "preferred" method, while #2 would be
easier.

I believe the fake id's are necessary because there's no way to "guess" the
new process's id, and
no way to fix up its environment after the fact.  Is this true?

Any guidance appreciated...

