public static Thread currentThread()
Returns a reference to the currently executing thread object.
Returns:the currently executing thread.
返回的是此时正在调用这段方法的thread。
public static Thread currentThread()
Returns a reference to the currently executing thread object.
Returns:the currently executing thread.
返回的是此时正在调用这段方法的thread。
转载于:https://my.oschina.net/u/2308739/blog/843712