Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-08-14 20:50:36

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

Always nice for an implementation to assert() on preconditions if possible.


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