[erlang-questions] Do messages casted by Process A always get received before messages called by Process A?

Geoff Cant nem@REDACTED
Thu Oct 20 00:00:25 CEST 2011

No, messages are handled in the order they arrive to a gen_* process. So if you (1) call A, then (2) cast A, (1) will be handled before (2).


On 2011-10-19, at 14:46 , Kris Rasmussen wrote:

> Can I assume that casts will be processed before calls in erlang if sent
> from the same process? I would expect this to be the case given that I
> assume the only difference between a cast and a call is that a call waits
> for a response but I certainly could be wrong.
> Thanks,
> Kris
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list