From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-11-13 07:03:33
>Will it compile when statically linked to the RTL? Of course. Would
this cause problems for all programs built this way? Probably not.
However, the chances of the user getting things wrong here are
EXTREMELY high, especially considering that the sole purpose of
threadmon is to cleanup thread specific storage which will almost
assuredly be allocated on the heap using the RTL by the application,
while the cleanup runs in the DLL.
Except that the cleanup isn't really in the dll (unless I've misunderstood
which is quite likely) - the dll just calls the appropriate proceedure
callback - and that will be running in the exe won't it?
- John Maddock
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk