complex thread class 复杂线程类
screw-thread class 螺纹配合等级
unified screw-thread class 统一螺纹配合等级
multi-thread class 多线程类
communication thread class 通信线程类
thread safe class 线程安全类
Thread security class 线程安全类
Class of Thread 螺纹等级
To create a new non real-time thread the existing thread class is used unchanged.
使用现有的Thread类、不做任何改动,就能创建一个非实时线程。
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。
For example, if you wish to use multiple threads, implement the Runnable interface rather than extending the thread class.
举例来说,如果你希望使用多线程,实现Runnable接口比扩展Thread类好。
应用推荐