Subject: Re: [boost] [threads] Unexpected behaviour of Thread loal storage
From: Fu ji (fujimailing_at_[hidden])
Date: 2015-04-30 08:06:15
Ok, I already now how weird tree I have in project.
First there is run service.exe which load dispather.dll. Here I use
function from mainlibrary.dll (there is reference mainlibrary in dispatcher
properties). Now from mainlibrary (where is declaration of tls) I load
module.dll, in this module I all function from dispather and reset tls with
value = 2, back to module and try to get value from tls, but it looks like
tls is not initialized with any value.
There is a difference beetwen boost tls and tls from win api in this case ?