cpp/thread/thread/id/operator cmp

Compares two thread identifiers.

@1-2@ Checks whether and  represent either the same thread, or no thread.

@3-7@ Compares and  in an unspecified total ordering.

Return value
@1-6@ if the corresponding relation holds,  otherwise.

@7@ if  is less than  in the total ordering; otherwise  if  is less than  in the total ordering; otherwise.

Complexity
Constant.