|
Hi,
I am surprized by your statements: I can't find any overload of equals in java.lang.Thread. How could equals' behaviour be different than the built-in equality operator, then?
Moreover, are you sure it is not safe to rely on the Thread instance to identify a given thread? I always believed that Thread.currentThread() returns the same instance if and only if the same thread is current.
Regards,
Cyrille
|