|
Boost : |
From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-08-03 12:46:47
Michael Glassford wrote:
> thread at a time is allowed to call DllMain); is the same true for the
> tls callback? If not, the implementation of on_thread_exit(), will have
> to be a lot more careful to be thread-safe.
Yes. TLS callback is serialized in the same section where DllMain calls
are serialized, just after calling all DllMain functions. At least this
is how it works in Windows 2000 and Windows Server 2003.
B.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk