• Here the self identifier declares a thread local variable time.

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

    youdao

  • Note that the address of a thread local variable is valid only as long as the thread in which the address was taken still exists.

    请注意只有其中获取地址线程仍然存在情况下,线程本地变量的地址才有效

    youdao

  • In standard c, the effect of this is to forbid the use of the address of a thread local variable as an initializer for an object or pointer.

    标准c中这种作法效果禁止线程本地变量地址用作对象或指针的初始值设定项。

    youdao

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

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

    youdao

  • While no one would ever directly use the idiom in Listing 1, this code is very similar to the case where the lock associated with a synchronized block can be proven to be a thread-local variable.

    虽然没有直接使用清单1中的形式,但是这个代码非常类似情况是:可以证实synchronized关联一个线程本地变量

    youdao

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

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

    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

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

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

    youdao

  • Local static pointer variable is not thread safe?

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

    youdao

  • Local static pointer variable is not thread safe?

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

    youdao

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

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

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