News for hackers. Stuff that matters.
Re:How to stop Linux threads cleanly by kazinator on Monday October 20, 2025 @07:05PM (#45650549)
I'm regret to be informed that they still haven't figured this out. I was very active in thread on Linux over 20 years ago, working on glibc and whatnot. That was before C++ had threads, needless to say. There was a time when cancelation didn't do C++ unwinding, only the PTHREAD_CLEANUP_PUSH handlers. So of course cancellation and C++ exceptions was a bad cocktail then.

There are no comments on this comment yet.