Here the self identifier declares a thread local variable time.
这里的self标识符声明一个线程局部变量time。
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.
请注意:只有在其中获取地址的线程仍然存在的情况下,线程本地变量的地址才有效。
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中,这种作法的效果是禁止将线程本地变量的地址用作对象或指针的初始值设定项。
应用推荐