|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-12 08:35:22
From: "Steve Anichini" <sanichin_at_[hidden]>
> Hence why I'm lobbying that a) linking with the static runtime is not
> inherently unsafe
... and is sometimes the only option when the DLL and the EXE are built by
different compilers. DLLs are supposed to "just work" regardless of which
compiler has been used to build them.
> and b) it is something Boost.threads should support "out
> of the box".
Probably true, although Boost.Threads' case is slightly different. It's not
about the C RTL; the whole Boost.Threads has to be a DLL when both the EXE
and a DLL use it. Otherwise the EXE and the DLL will have their own separate
thread locals.
In this case threadmon.dll should probably be integrated into
boost.threads.dll.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk