Boost logo

Boost :

Subject: Re: [boost] [1.44] Beta progress?
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-08-06 12:40:10


On 06/08/10 16:45, Gaetano Mendola wrote:
> On 08/06/2010 04:15 PM, Anthony Williams wrote:
>> On my linux system that aborts the program with "FATAL: exception not
>> rethrown"
>
> The following code produces:
>
> $ ./a.out
> Thread started
> interrupted
> terminate called after throwing an instance of 'std::runtime_error'
> what(): interrupted
> Aborted

Yes, but if you catch the std::runtime_error then the application
*still* aborts.

Anthony

-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++0x thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk