• Broadly, JCSP provides three types of guards.

    大体来说JCSP提供了三类警卫

    youdao

  • JCSP handles such issues explicitly, as you'll see.

    将会看到jcsp显式地处理这类问题

    youdao

  • JCSP defines two interfaces for reading from and writing to channels.

    JCSP定义了两个接口用于通道读取对象通道写入对象。

    youdao

  • JCSP provides a class called PriParallel that prioritizes the processes passed to it.

    JCSP提供了一个叫作PriParallel,可以为传递的进程加上优先级。

    youdao

  • A barrier is a JCSP event that ACTS as a synchronization mechanism between multiple processes.

    barrier一个JCSP事件,可以充当多个进程之间同步机制

    youdao

  • The constructs discussed thus far (first in Part 2 and now here) are the core constructs of the JCSP library.

    迄今为止讨论构造(第2部分开始现在这里)都是jcsp库的核心构造。

    youdao

  • In JCSP, a process is essentially a class that implements the CSProcess interface. Listing 1 shows the interface.

    JCSP进程实际上就是实现了CSProcess接口

    youdao

  • There are no hidden interactions in JCSP-based programs — at each level of the network all the plumbing is visible.

    基于JCSP程序没有隐藏交——在网络一级上所有管道都可见的。

    youdao

  • Because channels are an important concept in JCSP, let's make sure you understand how they work before going further.

    因为通道JCS p中重要概念,所以在进行下一步之前确定确实理解它们工作方式

    youdao

  • See the JCSP library download (in Resources) for further documentation of these constructs, including usage examples.

    请参阅JCSP下载参考资料 中),以获得结构造的更多文档包括

    youdao

  • I used several working examples to demonstrate the use of essential JCSP constructs such as processes, channels, and guards.

    了几个实例演示基本JCSP构造(例如进程通道警卫等)的使用

    youdao

  • Next time you find yourself considering (and perhaps shying away from) a multithreaded application design, you may want to turn instead to the JCSP library.

    下次会发现,在您自己考虑(也可能要在躲避)多线程应用程序设计时,您可能转而采用jcsp库。

    youdao

  • I conclude this introduction to JCSP with a simple example that demonstrates the use of JCSP guards to facilitate non-determinism in concurrent applications.

    一个简单示例演示如何JCSP警卫实现并发应用程序中的非确定性,借此总结JCSP介绍

    youdao

  • In the specific context of JCSP, an abstract class called Guard is provided, which must be subclassed by event objects that are competing for selection by a process.

    JCSP特定上下文中提供一个叫作Guard的抽象竞争进程选择事件必须继续

    youdao

  • It USES the JCSP-provided class NumbersInt to generate a sequence of natural Numbers that are fed through the temp channel to another built-in class, called FixedDelayInt.

    JCSP提供的NumbersInt生成一系列自然数,通过temp通道传递另一个叫作FixedDelayInt的内置类。

    youdao

  • Building applications with JCSP results in clean interfaces and lack of hidden side-effects which makes the resulting product resilient to maintenance and technology changes.

    JCSP构建系统会产生干净接口,很少有会造成产品不好维护技术变化隐藏副作用。

    youdao

  • Note that JCSP implements process priorities in terms of the underlying thread's priority mechanism; so how the priorities actually work out depends on the underlying JVM implementation.

    注意JCSP底层线程优先机制实现进程优先级;所以优先级实际工作方式取决于底层的JVM实现

    youdao

  • From here on, I use code examples to demonstrate how these and other JCSP constructs work. In Listing 2, you can see a very simple process that outputs all even integers between 1 and 100.

    现在开始,使用代码示例演示这些其他JCSP构造如何工作。

    youdao

  • I also demonstrated some of the JCSP constructs for resolving more complex synchronization issues and briefly discussed the possibility of distributed programming with the JCSP.net package.

    演示了一些用来解决复杂同步问题JCSP构造简要讨论了用JCSP.net包进行分布式编程可能性

    youdao

  • If you've been reading along with this series from the beginning, you should agree by now that CSP is a programming paradigm worth investigating and the JCSP library a worthy addition to your toolkit.

    如果开始一直阅读这个系列,那么到了现在,您应当同意CSP一个值得研究编程范式,而jcsp值得添加工具包中。

    youdao

  • If you've been reading along with this series from the beginning, you should agree by now that CSP is a programming paradigm worth investigating and the JCSP library a worthy addition to your toolkit.

    如果开始一直阅读这个系列,那么到了现在,您应当同意CSP一个值得研究编程范式,而jcsp值得添加工具包中。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定