cpp/thread/stop token/operator cmp

Compares two values.

Return value
if and  have the same associated stop-state, or both have no associated stop-state, otherwise