The mechanism used to communicate with blocking code is not completely developed yet.
这种机制用来与阻塞进行通信,目前还没有完全开发完毕。
Thanks to Fibers we are able to write seemingly blocking code that is run in a non-blocking manner.
多亏了纤程,我们可以写出这种看似明明是阻塞的代码,却能够以非阻塞的行为运行。
The code in Listing 3 shows a blocking call, in which the client waits until the messsage has been processed to report which grid partition was chosen to consume the message.
清单 3 中的代码展示了一个阻塞调用,其中客户端将一直等待,直到消息被处理并报告哪个网格分区已被选中来使用该消息。
应用推荐