Login  Register

Re: Bug in GLContextLock

Posted by Cyrille on Jul 26, 2010; 1:02pm
URL: https://forum.jogamp.org/Bug-in-GLContextLock-tp995870p996249.html

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