[erlang-questions] how is the underlying mechanism to send messages between processes running on multicore?

LiYusheng <>
Thu Feb 28 04:57:53 CET 2008


Suppose there are three processes running on three cores. Process A and B are trying to send message to Process C. Is Process C's message queue locked for receiving messages? To my understand, suppose in Process A,
C ! {add,X}
then {add,X} is turned into binary, then lock and add to C's message queue, C will turn this binary into term then check the message .is this correct? and what will happen if some error occur inside the lock?
Thanks for reply.
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080228/e60d902a/attachment.html>


More information about the erlang-questions mailing list