Subject: Re: [boost] [threads] Unexpected behaviour of Thread loal storage
From: Fu ji (fujimailing_at_[hidden])
Date: 2015-05-06 04:25:37
> Do you link to Boost.Thread built as a shared library (dll)? Both
> libraries must use Boost.Thread dll because it maintains a global list
> of thread_specific_ptr storage objects internally.
This could be a problem, in both solutions I have in Properties:
Additional Include Directories: ..\3rdParty\Common\include\boost
(here I have .hpp files)
and in Linker:
Additional Library Directories: ..\3rdParty\$(Platform)\VC12\lib
and here I have libboost_thread-vc120-mt-1_57.lib
May I do this in some other way ? I read that I can achieve that by define:
in pre-compiled header stdafx.h
Thank you for your patience Andrey.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk