cpp/thread/jthread/get stop token

Returns a std associated with the same shared stop-state held internally by the object.

Parameters
(none)

Return value
A value of type std associated with stop-state held internally by object.