Semantics of send

Johan Montelius <>
Wed Apr 28 13:31:13 CEST 2010



What is the semantics of send?  In the following example:

to_a_or_to_ab_or_to_none(A, B) ->
	A ! foo,
	B ! bar,
	crash().

If B receives bar is it then so that A receives foo?

And where is the behavior stated?

Is it guaranteed by the Erlang implementation in a distributed setting?

If the sender crashes, is disconnected ...

  Johan



-- 
Dr Johan Montelius
Royal Institute of Technology - KTH
School of Information and Communication Technology - ICT


More information about the erlang-questions mailing list