preservation of message order

Ulf Wiger etxuwig@REDACTED
Tue Jan 28 15:41:42 CET 2003


Erlang guarantees that the order of messages from one sender
to another is preserved.

Does this also mean that a {'DOWN',process,Who,Why} message,
or an {'EXIT',Pid,Why} message can never reach the recipient
ahead of the last message sent to same recipient? I hope so.

There are probably restrictions, such as: if the message
is sent using global:send(...), no such guarantee can be
made, but if the message is sent using the Pid or
locally registered name of the process, the guarantee should
hold.

/Uffe
-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks



More information about the erlang-questions mailing list