You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases thread just can hang. Would not we should have more control on this kind of situation? Like .terminate(), .kill(), etc.
Yeah, i know pitfalls. Possible unreleased memory and other stuff. But it still better, then waiting forever to stop thread(which can never stopped).
The text was updated successfully, but these errors were encountered:
You seem to be requesting a design change, not an editorial issue, and this is the wrong place to do that.
Thread cancellation was discussed at length during the C++0x process and was not deemed suitable for standardisation. If you want to propose a change to the language please see https://isocpp.org/std/submit-a-proposal
In some cases thread just can hang. Would not we should have more control on this kind of situation? Like .terminate(), .kill(), etc.
Yeah, i know pitfalls. Possible unreleased memory and other stuff. But it still better, then waiting forever to stop thread(which can never stopped).
The text was updated successfully, but these errors were encountered: