[erlang-questions] Order of monitor signal(s)

Dmytro Lytovchenko dmytro.lytovchenko@REDACTED
Thu Nov 30 16:05:31 CET 2017


message delivery is instant the moment you execute send command (send
opcode). So exit message well always arrive second, because ordering
guarantee - exit message was sent SECOND.

On 30 Nov 2017 4:02 pm, "Dmitry Kolesnikov" <dmkolesnikov@REDACTED> wrote:

Hello,

There is a statement that Erlang messages may be not delivered, but message
order is always preserved relative to two processes. This is a statement
regarding the ordinal message… Is this statement valid when we are talking
about monitor messages in relation to ordinal message? I have strong
feeling that it is not guaranteed.

So, let’s assume we have a process A that sends async message to process B
and quits. The process B listens messages for process A and monitors it
with erlang:monitor(process, A). I am suspecting that there are no
guarantee that message will be delivered before exit signal. Am I right?

Thank you in advanced!

Best Regards,
Dmitry

_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171130/b81b40ec/attachment.htm>


More information about the erlang-questions mailing list