
6 Aug
2010
6 Aug
'10
4:40 p.m.
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