• 这里self标识符声明一个线程局部变量time

    Here the self identifier declares a thread local variable time.

    youdao

  • 线程局部变量高效地每个使用线程提供单独线程局部变量副本

    A thread-local variable effectively provides a separate copy of its value for each thread that USES it.

    youdao

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

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

    youdao

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

    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.

    youdao

  • 包含了局部变量真正线程不同的无法执行

    It includes stack frames and local variables, but unlike a true thread it is not executable.

    youdao

  • 现在我们局部变量sum上创造了一场数据竞争因为多个线程可能同时希望更新

    Now, we would have created a data race on the local variable sum, because multiple threads might want to update it simultaneously.

    youdao

  • 可以程序注册表每一个线程堆栈中的(基于堆栈的)局部变量以及静态变量找到根

    Roots can be found in program registers, in local (stack-based) variables in each thread's stack, and in static variables.

    youdao

  • 应用程序中的每个线程自己局部变量time因此每个应用程序线程可以跟踪自己时间

    Each thread in the application will have its own local variable time, thus enabling each application thread to track its time.

    youdao

  • 静态局部变量指针不是线程安全的?

    Local static pointer variable is not thread safe?

    youdao

  • 应用程序包含全局对象指针静态对象指针、线程堆栈中的局部变量引用对象参数以及CPU寄存器

    An application's roots include global and static object Pointers, local variables and reference object parameters on a thread's stack, and CPU registers.

    youdao

  • 话说,任何局部变量线程创造过程定义

    In other words any local variables are redefined in the process of new thread's creation.

    youdao

  • 话说,任何局部变量线程创造过程定义

    In other words any local variables are redefined in the process of new thread's creation.

    youdao

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

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

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