\"\" \"\" \"\"
Go backward to =: Assignment
Go up to General
RISC-Linz logo

==: Comparison

equal = (t == s)
      int equal
      Thread<R> t
      Thread<R> s
equal = (int t == s)
      int equal
      Threadn<R, A1, ..., An> t
      Threadn<R, A1, ..., An> s

Specification: Returns 1 if a and b are bound to the same array and 0 else.

Complexity: O(1).

Note: By implicit conversion, the following comparisons are legal:  

Thread<R> t
Threadn<R, A1, ..., An> s
t == s
s == t

Author: Wolfgang Schreiner
Last Modification: April 12, 1997