cpp/thread/stop source/operator cmp

Compares two values.

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