Dave Butenhof wrote:
So, yeah; the exception is synchronous. Fine. But that's only the final, and least interesting, step in the protocol. Or perhaps that's just "least interesting" to ME, because "I'm a thread guy". ;-)
It is a very interesting step because that's what the thread sees, an ordinary exception, emanating from a function in the usual way; meaning that if the thread is already equipped to handle exceptions, as is the case with C++ code nowadays, it "just works". Which is nice. :-)