
8 Feb
2004
8 Feb
'04
4:23 p.m.
Christopher Currie <christopher@currie.com> writes:
Slawomir Lisznianski wrote:
Are there any plans to support handling of exceptions thrown during joinable thread execution? I recall Usenet discussions with proposals varying from Futures to throwable join(): try { thread.join(); } catch (std::runtime_error& e) { ... } Any ideas?
Doesn't this require a certain amount of compiler support?
Yes.
IIRC, some compilers don't support throwing exceptions across thread boundaries...
Right. This can't be done portably. -- Dave Abrahams Boost Consulting www.boost-consulting.com