|
Boost Users : |
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-04-20 02:14:44
Johan Nilsson wrote:
> [cross-posting this to boost.threads.devel as I tried putting out a
> request for support there as well]
>
[snip]
> As you said - the static thread_specific_ptr<> destructors are run
> after on_thread_exit for the main thread (actually, some of them
> before, and one of them after, which is even more confusing). Reading
> the comments in tss_pe.cpp, it seems to be a deliberate decision to
> run on_thread_exit from the main thread before the static destructors
> are run. Perhaps to be able to use static objects safely during
> "normal" thread exits?
Uh, sorry. Don't know what I was thinking here .. perhaps the result of
debugging the problem for an extended amount of time.
/ Johan
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