|
Boost : |
Subject: Re: [boost] [thread] Why is thread_interrupted not derived from thread_exception or std::exception?
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2009-02-07 14:32:58
Boris Schaeling wrote:
> Why is thread_interrupted not derived from thread_exception or
> std::exception? It might easily slip through a try/catch-block, and if
> I hadn't looked up the header file now it might have slipped through
> mine.
Presumably because thread interruption shouldn't be caught by error
handler blocks.
Sebastian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk