• This was achieved by adding a general "catch-all" block in the Thread class.

    目标是通过thread中添加一个通用的“catch - all”代码来实现的。

    youdao

  • To create a new non real-time thread the existing thread class is used unchanged.

    使用现有Thread、不做任何改动,就创建实时线程

    youdao

  • The java.lang package provides a thread class that supports methods to start and stop threads and set thread priorities, among other things.

    langpackage提供线程支持开始停止进程,设置进程优先级等等。

    youdao

  • Provides reference documentation for the Thread class, which represents a managed thread, whether it came from unmanaged code or was created in a managed application.

    参考文档,该类表示托管线程无论来自托管代码还是托管应用程序中创建的)。

    youdao

  • The simplest way to convert an existing application to be a real-time application is to simply change all places where a new thread is started to use the RealtimeThread class instead.

    现有应用程序转化为实时应用程序,简单的做法就是RealtimeThread类简单替换发起线程的代码。

    youdao

  • Instead, the thread class was modified to support ThreadLocal by adding an instance variable to thread that holds a HashMap mapping thread-local variables to their values for the current thread.

    相反地人们通过Thread添加一个实例变量(该变量用于保存当前线程的从线程局部变量它的映射HashMap)来修改thread支持ThreadLocal。

    youdao

  • In this case, the delegation model is a proper graph (with cycles), and so a deadlock can occur as a result of particular class relationships and thread usage.

    例中委托模型一个正确的(带有循环),所以发生可能是使用特定关系线程的结果

    youdao

  • The callback handler class has two thread local variables that can store the user ID and password from the client instance.

    这个回调处理器拥有两个线程本地变量用于存储来自客户端实例用户ID密码

    youdao

  • As soon as you implement a nontrivial class maintaining state between method calls, consumers of the class will want to know details about thread safety and performance.

    一旦实现方法调用之间保持状态重要该类使用者就会希望了解有关线程安全和性能的详细信息

    youdao

  • This instance is used for all messages that are sent into the partition, making members of this class thread safe and providing the opportunity to cache required resources.

    这个实例用于发送分区中的所有消息使这个成员线程安全提供缓存必要资源机会

    youdao

  • The parent of this class loader will be the class loader of the current thread context.

    加载父类加载器当前线程上下文的类加载器。

    youdao

  • Making a class thread safe requires additional care during the implementation and testing of the class.

    使一个线程安全需要实现测试该类时非常小心

    youdao

  • Just like the rest of the code in a typical Windows Forms application, any code that resides inside a timer event handler (for this type of timer class) is executed using the application's UI thread.

    典型窗体程序其它代码一样,任何驻留在一个定时器事件处理函数(指的是类型的定时器)中的代码也是使用应用程序UI线程所执行

    youdao

  • If the pool class does not catch these, then the thread will simply exit and the size of the thread pool will be permanently reduced by one.

    如果没有捕捉到它们那么线程退出线程池大小永久减少一个

    youdao

  • It is often the easiest way to render a stateful class thread-safe, or to encapsulate non-thread-safe classes so that they can safely be used in multithreaded environments.

    常常状态描绘成线程安全的,或者封装线程安全使它们能够在多线程环境中安全地使用容易的方式

    youdao

  • Consider a thread-safe container class - a data structure that guarantees thread safety to its clients.

    可以考虑使用线程安全容器—一个保证用户操作线程安全的数据结构

    youdao

  • GC roots can be found in the root stacks, in thread execution stacks, and in object and class fields.

    GC找到,在线成执行堆,在对象域里

    youdao

  • As an example, the code in Listing 1 USES an anonymous class to create a Thread Factory.

    例如,清单1代码使用匿名创建Thread Factory。

    youdao

  • Next, you almost copy the exact same structure for the next thread pool class, DatamineThread.

    接下来对于另一个线程DatamineThread几乎复制完全相同结构

    youdao

  • In looking at the code, you can see that we added another instance of a queue, and then passed that queue into the first thread pool class, ThreadURL.

    分析段代码可以看到我们添加了一个队列实例然后将该队列传递给第一线程ThreadURL

    youdao

  • Each worker thread performs some bit of work using the TaskHandler class.

    每个工作者线程使用taskhandler执行一部分工作

    youdao

  • The application hangs because each thread owns a lock on one of the class loaders and wants the lock on the other class loader, as illustrated in the timeline diagram in Figure 2.

    应用程序之所以挂起是因为每个线程都拥有装入想得到一个类装入器上锁,如图2的时间线图所

    youdao

  • When the bot is used, this property is read and each custom class is run as a thread of the main Watchit bot.

    使用bot时,属性读取每个自定义为主watchit bot一个线程运行

    youdao

  • You don't call the ThreadPoolExecutor constructor directly to create a thread pool but instead use the Executors utility class to create one.

    使用Executors工具创建线程不是直接调用ThreadPoolExecut or构造器来创建。

    youdao

  • This constructor lets you specify the priority, memory sizes, and period for a thread, along with the class that represents the thread to be run (a class that extends PeriodicThread).

    构造函数能够指定优先级内存大小线程周期表示运行线程的(扩展periodicthread的类)。

    youdao

  • In the constructor of StockQuoteGenerator class, which is a singleton class, we are starting a new thread and assigning a Runnable object to that thread.

    stockquotegenerator(个单态)构造函数中,我们启动了一个线程线程分配了一个Runnable对象

    youdao

  • The PresentationReconciler class updates the text's appearance with every keystroke, and the Reconciler class runs in a daemon thread, parsing the document without holding up the user interface (UI).

    presentationreconciler根据每次更新文本外观,而Reconciler运行一个守护线程必将用户界面(UI)挂就能解析文档

    youdao

  • Class initialization Any type of regular or real-time thread can initialize a class, including a NHRT, which can cause unexpected MemoryAccessError.

    初始任何类型常规实时线程都可以初始化类,包括NHRT(可能导致意外的MemoryAccessError)。

    youdao

  • Class initialization Any type of regular or real-time thread can initialize a class, including a NHRT, which can cause unexpected MemoryAccessError.

    初始任何类型常规实时线程都可以初始化类,包括NHRT(可能导致意外的MemoryAccessError)。

    youdao

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

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

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