IInputChannel 合约包括接收、尝试接收 (try-to-receive) 和等候讯息 (wait-for-a-message) 功能的同步和非同步等变体。
基于16个网页-相关网页
For processes 1 and 2, the recv function is blocking, which means that the program will wait until it receives a message with tag ID 9 from process 0.
对于进程1和2,recv函数被阻塞,这意味着程序会等待,直到从进程0收到标签id为9的消息。
Once the message has been sent, the sender can store a reference to the Future object and check periodically for completion, or it can block and wait if needed by calling the get method.
消息被发送之后,发送者可以保存对Future对象的一个引用并定期检查是否完成,或者,它也可以通过调用get方法来阻塞和等待。
The service bus subsystem automatically provided for both types of interaction, given that it was purely message based and supported a read method that could wait for an incoming message.
如果服务总线子系统是纯粹基于消息的,而且支持某种用来等待传入消息的读取方法,它将自动提供这两种类型的交互。
应用推荐