Newsgroups: comp.parallel.pvm
From: john@elroy.jpl.nasa.gov (John Wright)
Subject: Re: Sending of empty messages!
Organization: Image Analysis Systems Group, JPL
Date: 8 May 1995 14:38:49 GMT
Message-ID: <3oladp$eud@elroy.jpl.nasa.gov>

In article <1995May5.080759.20291@news.unige.ch>,
Baggi Yves <baggi@cui.unige.ch> wrote:
>Hi everybody,
>
>Can I send empty messages consisting of only a message tag ?
>Here is the code I wrote, the destination task seems not receiving
>the message but there is no error message output.
>
>  bufid = pvm_initsend( PvmDataDefault );
>  if( bufid < 0 )
>    {
>      pvm_perror( "initsend failed!" );
>    }
>  info = pvm_send( tid, MyTag );
>  if( info < 0 )
>    {
>      pvm_perror( "send failed!" );
>    }
>
>Thanks for a clue !
>
>yves
>

I have sent empty messages and it has seemed to work.  However, I've
just started using them and my software has some strange bugs so 
maybe it doesn't.  I do know that some messages have been received.
Make sure that the receiver is looking for the same tag (MyTag) or
the universal tag (0?) or it won't receive the message.  Only thing
I can think of.

John

-- 
john@tone.jpl.nasa.gov
---Signature under construction---
(I quail at the impossibility of capturing the 
essence of myself in four lines in an ASCII file)

