Return true if the specified a and b thread handles identify the same thread, or if both a and b are invalid handles, and false otherwise. Note that if either of a or b is an invalid handle, but not both, this method returns false.
DEPRECATED: use areEqual instead.