• To create a new non real-time thread the existing thread class is used unchanged.

    使用现有的Thread类、不做任何改动,就能创建一个非实时线程。

    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

  • For example, if you wish to use multiple threads, implement the Runnable interface rather than extending the thread class.

    举例来说,如果你希望使用多线程,实现Runnable接口比扩展Thread类好。

    youdao

  • Provides reference documentation for the Thread class, which represents a managed thread, whether it came from unmanaged code or was created in a managed application.

    类的参考文档,该类表示托管线程(无论它是来自非托管代码还是在托管应用程序中创建的)。

    youdao

  • Provides reference documentation for the Thread class, which represents a managed thread, whether it came from unmanaged code or was created in a managed application.

    类的参考文档,该类表示托管线程(无论它是来自非托管代码还是在托管应用程序中创建的)。

    youdao

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

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

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