Boost logo

Boost :

From: Scott McCaskill (scott_at_[hidden])
Date: 2001-08-23 10:54:31

----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, August 23, 2001 9:58 AM
Subject: Re: [boost] Ending/canceling/suspending a thread (proposal)

> From: "Scott McCaskill" <scott_at_[hidden]>
> > You're assuming that use of catch(...) implies that the exception will
> > always be re-thrown, but this does not have to be the case and indeed a
> > library implementor cannot make that guarantee:
> No, I don't assume anything like this. Not re-throwing in catch(...) will
> ignore the cancelation request. This is a feature.

Ok, I didn't realize that. However I'm uncertain about the value of
thread::cancel() if it may or may not cause the thread to end. Why would
one use thread::cancel() unless it does matter whether or not the thread is

Boost list run by bdawes at, gregod at, cpdaniel at, john at