cpp/thread/jthread/get stop source

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

Parameters
(none)

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