Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-08-06 04:13:26


Michael Glassford wrote:
[...]
> 2) IIUC, with the pthreads cleanup handlers, it is literally
> unspecified whether they run before or after C++ destructors because
> pthreads is a C-based standard.

What "pthreads cleanup handlers"? Do you mean TSD dtors and/or
thread cancel/exit cleanup handlers? Thread termination (unwinding
of cleanup handlers followed by TSD destruction) and program (aka
process) termination (it runs atexit() handlers and C++ destructors
for objects with static storage duration, if not abnormal) is fully
specified. Or do you mean C++ stuff "on the stack", not static
storage duration?

regards,
alexander.


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