[erlang-questions] order-preserving send?

atomly atomly-erl@REDACTED
Thu Aug 28 01:31:59 CEST 2008


[Bill McKeeman <Bill.McKeeman@REDACTED>]
> 
>    Simple newbie question.  Suppose I have a process id U, and send two
>    messages
> 
> 
>    U ! Message1.
> 
>    U ! Message2.
> 
> 
>    Is there a guarantee that the messages will be received in the order
>    they were sent?

No.  There's not even a guarantee that both (or either) messages will be
received.

>    Second question:  How could I find out without asking here?

I recommend starting with:

http://www.erlang.org/starting.html

http://www.erlang.org/course/course.html

http://www.erlang.org/doc/

http://www.erlang.org/doc/pdf/

And, the best resource of all:

http://www.pragprog.com/titles/jaerlang/programming-erlang

-- 
:: atomly ::

[ atomly@REDACTED : www.atomly.com ...
[ atomiq records : new york city : +1.917.442.9450 ...
[ e-mail atomly-news-subscribe@REDACTED for atomly info and updates ...



More information about the erlang-questions mailing list