Newsgroups: comp.parallel.pvm
From: Tom Goodale <g00dale@aei-potsdam.mpg.de>
Subject: Re: Change message receiving order ??
Organization: Max-Plank-Institut Fur Gravitationsphysik
Date: Mon, 16 Mar 1998 10:20:20 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <350CEED4.41C6@aei-potsdam.mpg.de>

MSc95 LEUNG Kwok Kuen wrote:
> 
> Hello,
> 
> As I know, PVM queues messages in receiving task in total order nature.
> 
> Is it possible to change this order so that I can handle emergency
> message in advance ?? That is, this message will put in the top of the
> queue.
> 
> Thanks.

You can receive a message based upon it's tag value, so decide on a
value for emergency tags, then do a pvm_probe for this tag, and pvm_recv
if one has been received, before going on to deal with other messages.

I hope this helps,

Tom

