this_thread
檢查 stop_source 物件是否有停止狀態,以及該狀態是否已收到停止請求。
stop_source
(無)
若 stop_token 物件有停止狀態且已收到停止請求,則為 true,否則為 false。
stop_token