Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2008-05-28 08:30:02


David Abrahams wrote:
> Seems to me that if we have "detach()," it we should be asking whether a
> thread is "attached()," rather than "joinable()." Our documentation
>
Agreed.

> says "if *this refers to a thread of execution..." all over it, which
> would seem to indicate that joinable() is an important question even
> when you're not about to join().
>

I find this phrasing a bit strange. 'thread of execution' sounds like a
concept.
Is the 'main' thread not a 'thread of execution' ? (And even if no
threads are spawned at all ?)
If what is referred to is actually an object (as hinted to by the use of
'*this', it should be clear by use of an appropriate (type) name
('thread', instead of 'thread of execution').

Thanks,
       Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

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