Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-22 12:19:46


Johan Nilsson wrote:

> In a longer perspective I suggest that the on_thread_exit call for
> the main thread to be called later point in deinitialization (always
> after the static object destruction, at least the user supplied ones).

I agree with Johan. Destroying the thread local objects prematurely is a
recipe for trouble. It creates more problems than it solves.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net