Boost logo

Boost :

From: Scott McCaskill (scott_at_[hidden])
Date: 2001-08-14 21:21:09


----- Original Message -----
From: "Beman Dawes" <bdawes_at_[hidden]>
To: <boost_at_[hidden]>; <boost_at_[hidden]>
Sent: Tuesday, August 14, 2001 8:50 PM
Subject: Re: [boost] thread::join()

> At 02:51 PM 8/14/2001, Scott McCaskill wrote:
>
> >Shouldn't thread::join() throw an exception if a thread tries to join
> >itself? Right now, it will deadlock in such a situation.
>
> It is a documented precondition (Requires), so violation is undefined
> behavior.
>

Ok, but what is the rationale for this? Efficiency?


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