Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-08-18 12:26:39


From: "Alexander Terekhov" <terekhov_at_[hidden]>
> neither windows nor pthreads destroy their internal
> dynamic thread objects when threads run to completion
> (unless you have explicitly asked for implicit/auto
> destruction on thread termination via "detach";
> pthreads: PTHREAD_CREATE_DETACHED/pthread_detach,
> windows: close handle returned from CreateThread/last
> replica handle).
>
> why C++ library should do it differently?

Well, because good C++ libraries don't leak resources unless instructed to.
:-)

--
Peter Dimov
Multi Media Ltd.

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