<p dir="ltr">They are lost. New instance of this process will have new Pid. There are no built-in store-and-forward features in Erlang, but they can be implemented by a proxy process. But I never had a need to do that in all of my projects. What is your use case?</p>
<div class="gmail_quote">On 17 May 2013 08:18, <<a href="mailto:yashgt@gmail.com">yashgt@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Hi,</p>
<p>If a process crashes and is restarted by the supervisor, what happens to the messages that were sent to the process after it crashed and before it restarted? Are they collected and stored somewhere and are they sent to the process when it is ready to receive?</p>
<p>Thanks,<br>Yash</p>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div>