For faster navigation, this Iframe is preloading the Wikiwand page for 消息传递.

消息传递

此条目没有列出任何参考或来源。 (2024年5月25日)维基百科所有的内容都应该可供查证。请协助补充可靠来源改善这篇条目。无法查证的内容可能会因为异议提出而被移除。

电脑科学中,消息传递(英语:Message passing)是一种通讯的形式,在并发计算并行计算面向对象编程进程间通信中使用。在这种模式中,行程或物件以发送及接收消息的方式来达成同步

不同于传统程式设计通过名字直接调用(invoking)一个进程、子例程或者函数,消息传递直接发送消息给一个进程,依赖进程或基础框架来调用实际执行的代码。 可分为同步方式与异步方式。

概论

消息传递是一种通讯范型,在这种模型中,由一个传信者,将消息(messages)送给一个,或多个收信者。消息的形式,根据操作系统与编程语言的支持,而有所不同,常见的有方法(method),信号(signals)与资料数据包(data packets)。

消息传递系统

著名的消息传递系统有开放网络运算远程过程调用(ONC RPC)、CORBAJava RMIDistributed COMSOAP

数学模型

主要的数学模型为演员模型、π-calculus

参考文献

参见

{{bottomLinkPreText}} {{bottomLinkText}}
消息传递
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?