• 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

  • 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 factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.

    工厂保留连接线程静态映射可以线程进行调用返回现有连接创建存储连接句柄。

    youdao

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

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

    youdao

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

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

    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

  • 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

  • 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

  • In the run method of this class, grab the Web page, chunk, from off of the queue in each thread, and then process this chunk with Beautiful Soup.

    这个run方法中,队列中的各个线程获取web页面、文本然后使用BeautifulSoup处理这个文本块。

    youdao

  • The constructor of this class takes optional priority and release parameters to define how the JVM should schedule the thread.

    这个构造函数可以带有可选优先级参数出(release)参数,以此定义JVM如何调度线程

    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

  • 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

  • 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

  • Also, if you want to invoke any of the dialogs provided by the pluglet class, you can do so, because these are actually executed on the UI thread.

    而且如果调用pluglet提供任何个对话框,您都可以这样因为事实上他们就在UI线程执行

    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

  • 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

  • Sometimes, it is very difficult to make a class thread-safe without compromising its functionality, ease of use, or performance.

    有时,要在不影响功能易用性性能情况下使成为线程安全困难的。

    youdao

  • Generally, it does this by maintaining awareness or state of the mapped entity class instances it is responsible for by keeping a first-level cache of instances, valid for a single thread.

    通常通过保留单个线程有效一级缓存实例维护负责映射实体实例的可识别状态,从而做到一点。

    youdao

  • A class that is not thread-safe can often be used safely in a multithreaded program as long as you ensure that instances of that class used by one thread are not used by other threads.

    线程安全通常可以安全地多线程程序使用只要能确保一个线程所用实例其它线程使用。

    youdao

  • It may be easier to manage the use of a non-thread-safe class than to try and make the class thread-safe.

    管理线程安全使用试图使类成为线程安全容易些。

    youdao

  • This new inner class helps us to understand and use the following two pairs of new methods in thread.

    新的内部可以帮助我们了解下列方法有助于我们Thread使用它们。

    youdao

  • This scenario only occurs when the class calling the interruptible method is part of a Thread, not a Runnable or general-purpose library code, as illustrated in Listing 5.

    只有调用中断方法Thread一部分,而不是Runnable通用代码情况下,才会发生这样的场景,清单 5演示了这种情况。

    youdao

  • To create a thread-local variable, you instantiate an object of class ThreadLocal.

    创建线程局部变量实例化ThreadLocal对象

    youdao

  • Instead of double-checked locking, use the Initialize-on-demand Holder Class idiom, which provides lazy initialization, is thread-safe, and is faster and less confusing than double-checked locking.

    使用双重检查锁定使用Initialize - on - demandHolderClassidiom提供了迟缓初始化,线程安全的,而且双重检查锁定更快且没那么混乱

    youdao

  • The PooledExecutor class from this package is an efficient, widely used, correct implementation of a thread pool based on a work queue.

    中的PooledExecut or类一种有效的广泛使用以工作队列为基础线程正确实现

    youdao

  • This sort of bug is commonly introduced when maintaining a class that was originally properly synchronized, but the thread-safety requirements were not fully understood by the maintainer.

    这种bug通常维护引入这个原来正确同步的,但是维护人员没有完全理解线程安全需求

    youdao

  • The in-memory representation of a schema is defined as the schema class, which is immutable and therefore thread-safe.

    模式内存中表示定义schema,该类恒定的因此也是线程安全

    youdao

  • Once the priority class of the process is set, SetThreadPriority is used to set the priority level of the thread within the priority class of the process.

    一旦设置进程优先等级,就可以使用SetThreadPriority在进程优先级等级内部设置线程的优先级层次。

    youdao

  • Once the priority class of the process is set, SetThreadPriority is used to set the priority level of the thread within the priority class of the process.

    一旦设置进程优先等级,就可以使用SetThreadPriority在进程优先级等级内部设置线程的优先级层次。

    youdao

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

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

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