<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>When I execute "pid ! msg" and it returns, what are the guarantees if pid and self are on the same node?</div>
<div>Can I assume that by the time it returns, msg is in the pid's queue? And as a result all messages sent to pid afterwards will be queued after msg?</div>
<div><br>
</div>
<div>The reason I'm asking is because I need a guarantee of proper message ordering in the following scenario when all processes involved are local to a node:</div>
<div>1. A --msg1--> C (process A sends msg1 to process C)</div>
<div>2. A --msg2--> B</div>
<div>3. B --msg2--> C (process B simply proxies msg2 from A to C)</div>
<div><br>
</div>
<div>I need a guarantee that msg2 will always appear in C's queue after msg1.</div>
<div><br>
</div>
<div>P.S. I've read the FAQ 10.8 and 10.9 :-)</div>
<div><br>
</div>
<div>Thank you, Dmitry.</div>
<p></p>
<div id="Signature"></div>
</div>
</body>
</html>