|
Boost Users : |
From: Michel André (yg-boost-users_at_[hidden])
Date: 2003-02-11 16:36:04
Mark Storer wrote:
>> The MS APIs do not give you any means with which to cleanup data
>> allocated to TLS, and they recommend you add this in DllMain.
>
> What can you do in DllMain that you can't do with atexit, or some
> Loki-like priority singleton system?
Notifications of thread creation and exit from the current process.
DllMain gets called every time a thread is created or exited in the process
in which it is loaded.
/Michel
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