Newsgroups: comp.parallel.pvm
From: Mariusz Nowostawski <nowostawski@ci-1.ci.pwr.wroc.pl>
Subject: message queue
Organization: School of Computer Science, The University of Birmingham, U.K.
Date: Tue, 17 Mar 1998 14:59:06 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <350E8FBA.41C6@ci-1.ci.pwr.wroc.pl>

Dear readers

I have one (simple) question and I would appreciate if somebody could
tell me wether I am right or wrong.

Let say I have 3 processes A, B and C, with tids A_ B_ and C_TID
respectively. 

A:     	....
 	pvm_initsend(PvmDataDefault);
	pvm_send(C_TID, A_MSGTAG);

B:   	....
 	pvm_initsend(PvmDataDefault);
	pvm_send(C_TID, B_MSGTAG);

C:	...
	pvm_recv(A_TID, A_MSGTAG);
	pvm_recv(B_TID, B_MSGTAG);


if A sends his message first, everything is fine, but if C sends its
message first, B is blocked. Yes?


Thank you in advance

                              Mariusz
----------------------------------------

