|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-07-24 20:45:24
"Sean Huang" <huangsean_at_[hidden]> wrote in message
news:BAY102-DAV13D47719BA8C237CA85EE7A3650_at_phx.gbl...
>> I am not sure I understand the context where you would need to log
>> boost::test::execution_exception. Could you provide an example.
>>
> If the test creates a thread and the thread uses BOOST_CHECK. This
> probably
> wasn't a good idea to start with since as far as I know boost::test does
> not have a mechanism to catch the exceptions generated from other than
> main
> thread. A simple thread adaptor would be a nice addition to boost::test.
I will re-review threading issues in 1.35. For now I wouldn'r recommend this
usage. The exception is part of internal implementation. It's not supported
to be logged or caught by end users, so I do not see a need for an extra
dependency/complexity.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk