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

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

    youdao

  • 生产环境中可能面对以 GB 字节计算数以百计线程数以千计加载器,数以万计的以及巨大数目对象

    In a production environment, there may well be many gigabytes of heap, hundreds of threads, thousands of classloaders, tens of thousands of classes, and a huge number of objects.

    youdao

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

    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.

    youdao

  • 最大区别System.Timers.Timer对Win32可等待定时对象包装工作者线程产生一个时间片消失事件不是在UI线程上产生一个时间标记事件。

    The biggest difference is that System.Timers.Timer is a wrapper around Win32 waitable timer objects and raises an Elapsed event on a worker thread rather than a Tick event on the UI thread.

    youdao

  • Lock只是普通JVM知道具体哪个线程拥有 Lock对象

    The Lock classes are just ordinary classes, and the JVM does not (yet) have any knowledge of which Lock objects are owned by specific threads.

    youdao

  • 枚举数之外所有正则表达式都是线程安全或者可以通过同步方法转换线程安全对象

    With the exception of enumerators, all regular expression classes are thread safe or can be converted into thread-safe objects by a synchronized method.

    youdao

  • 数据库结构使用MFC这些线程安全设计的,能够让访问不同对象时不出问题。

    The structures use MFC classes that are thread-safe already for threads accessing different objects.

    youdao

  • 后面一种情况中,同一时间线程可以执行这个方法,因为对于所有调用者来说,都只有类对象被使用

    In the latter case, of course, only one thread at a time is allowed to execute a class method because there is only one class object that is Shared by all callers.

    youdao

  • 后面一种情况中,同一时间线程可以执行这个方法,因为对于所有调用者来说,都只有类对象被使用

    In the latter case, of course, only one thread at a time is allowed to execute a class method because there is only one class object that is Shared by all callers.

    youdao

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

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

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