[patch] Update catch(...) handlers to deal with __forced_unwind
Jonathan Wakely
jwakely@redhat.com
Wed May 14 19:37:00 GMT 2014
Failing to rethrow a __forced_unwind exception is very bad.
This patch ensures we rethrow them in async tasks, and makes the
shared state ready with a broken_promise so that waiting threads
don't block forever. That seems reasonable to me, does anyone have any
better ideas?
Tested x86_64-linux, will wait for feedback before committing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 6725 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140514/05f5ae37/attachment.bin>
More information about the Libstdc++
mailing list