Subject: Re: [boost] [threads] Unexpected behaviour of Thread loal storage
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-04-29 09:18:51
On Wed, Apr 29, 2015 at 4:13 PM, Fu ji <fujimailing_at_[hidden]> wrote:
> Tls is in header in SolutionC.
If that header is #included in SolutionB somewhere and TLS is defined
in that header (e.g. with the static keyword, like in your initial
post) then that variable is again duplicated in both solutions.