Newsgroups: comp.parallel.pvm
Path: ukc!uknet!warwick!zaphod.crihan.fr!univ-lyon1.fr!ghost.dsi.unimi.it!batcomputer!munnari.oz.au!hp9000.csc.cuhk.hk!cpccspc.cphk.hk!csun22!cs056888
From: cs056888@csun22 (Wong Chun (BACS4 Class A))
Subject: error on pvm_mytid
Message-ID: <CJH2HL.MpJ@cpccspc.cphk.hk>
Sender: usenet@cpccspc.cphk.hk
Nntp-Posting-Host: 158.132.79.214
Organization: City Polytechnic of Hong Kong
X-Newsreader: TIN [version 1.1 PL9]
Date: Tue, 11 Jan 1994 15:46:32 GMT
Lines: 21

Hello folks

I have written a slave program and the first line of the program should be :
mytid = pvm_mytid();

hopefully, it will be spawned by a master program.

When the program has executed this statement, I found that it then exits.  After using xdbx, I found mytid to be 0 which should not occur.

It also causes the pvm_parent to fail to return the tid of parent process.

Any opinon?

Lincoln Wong

+-----------------------------------------------------+
|                                                     |
|  Lincoln Wong Chun                                  |
|  E-mail address : cs056888@comp.hkp.hk              |
|                                                     |
+-----------------------------------------------------+

