Go backward to =: Assignment
Go up to General

==: Comparison

equal = (t == s)
      int equal
      Thread<R> t
      Thread<R> s
equal = (int t == s)
      int equal
      Threadn<R, A_1, ..., A_n> t
      Threadn<R, A_1, ..., A_n> 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, A_1, ..., A_n> s
t == s
s == t

Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: main.tex,v 1.10 1996/04/04 11:45:47 schreine Exp

Prev Up