Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-08-25 10:32:20


From: Peter Dimov <pdimov_at_[hidden]>
> From: "William Kempf" <williamkempf_at_[hidden]>
>
> [on adopting threads]
>
>
> > Have I made the issue clear enough now?
>
> Yes, thank you. An adopted thread doesn't know whether pthread_join() or
> pthread_detach() has already been called.
>
> Ignoring the technical problems for now, why do you think that adopting
> threads created by pthread_create() is a major QoI issue for a standard C++
> thread library?

It stikes me, given the difficulties, that it might be as well
to leave thread adoption out of the initial release, or to make
its behavior largely implementation defined.

From a standards point of view this maximizes implementers'
freedom to produce quality C++ thread libraries, no matter the
nature and quality of the native thread support, if any.


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