Boost logo

Boost Users :

Subject: [Boost-users] Boost.Thread: static lib vs dll - what's the current recommendation?
From: Dave Burnard (djburnard_at_[hidden])
Date: 2009-05-29 16:21:03


In a large project, we're currently building the thread library as a
dll. We're bringing in a new subcomponent that is also building the
thread library as a dll. Various issues ensue - we need to eliminate
one of them. One solution is to have the subcomponent use a static
version of the thread library, or we can try to make the two dlls
"identical" so we only need one copy.

Regarding the static linkage option, I have read in various places
that dll linkage was recommended for the thread library because of
thread local storage issues. Those emails were a couple of years old
so I am wondering if that has been resolved in the mean time. We're
currently using v37 if that matters.

Dave Burnard

please CC me off-list as I am not a regular boost-users reader.


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