cpp/thread/stop source/get token

Returns a object associated with the 's stop-state, if the  has stop-state; otherwise returns a default-constructed (empty).

Parameters
(none)

Return value
A object, which will be empty if