A process can receive and handle only one message at a time.<br><br><br>Sergej<br><br><div class="gmail_quote">On Thu, Mar 5, 2009 at 12:31 PM, fei wang <span dir="ltr"><<a href="mailto:fei@innlab.net">fei@innlab.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Problem is I don't know whether it is sense....<div><div><br></div><div>In fact I thing this problem is due to I don't know the message receiving in an erlang process is whether blocking or none-blocking.</div>
<div>
If it is none-blocking, two processes will do the same works as one.</div><div><br><div class="gmail_quote">2009/3/5 Rapsey <span dir="ltr"><<a href="mailto:rapsey@gmail.com" target="_blank">rapsey@gmail.com</a>></span><div>
<div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If it makes sense, why not.<br><br><br>Sergej<br><br><div class="gmail_quote">2009/3/5 fei wang <span dir="ltr"><<a href="mailto:fei@innlab.net" target="_blank">fei@innlab.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
In an OTP application, if a service module will be called for a large times in a short term. Should I make one or more copy of the process, let them do one same thing?<br clear="all"><br>-- <br><font color="#888888">--<br>
<br>---------------<br>
ÖÂ<br>Àñ£¡<br><br> <br>Íõ·É<br>
</font><br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div></div></div><br><br clear="all"><br>-- <br>--<br><br>---------------<br>
ÖÂ<br>Àñ£¡<br><br> <br>Íõ·É<br>
</div></div>
</blockquote></div><br>