I tried to use Boost thread local storage with Windows threads. I built the project without any problems.
However my question here is, is it okay to use Boost TLS with Windows threads?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit
Yes Boost is integrally supported on windows with all major compilers:
Supported compilers and platforms
I suppose you mean what "libraries do I need"?
You need to link to the import library for boost threads, usually a file like
This file can be added to the additional libraries to link box in the c++ linker settings. Don’t forget to add it for debug and release builds.
PS. don’t have Windows handy right now, so I can’t do the screen shots.