Click here to Skip to main content
15,888,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I tried to construct a wrapper class for C++11 Thread class using VS2013(Platformtoolset v120)and Intel C++ Compiler 14(lastest build) and built it as a dll,and my purpose was to use respective libs and dlls with VS2010(Platfromtoolset v100),my pure intention was to somehow use thread object with VS2010 builds.Initially I guessed this cannot be achieved,but Is there any methodology accomplish it? Please help Thank you.
Posted

1 solution

If no C++11 projects are involved, probably not. You will have to deal with with the particular OS APIs or with some cross-platform abstraction layers, such as the of of the boost library: http://www.boost.org/doc/libs/1_38_0/doc/html/thread.html[^].

—SA
 
Share this answer
 
Comments
Buddhi Chaturanga 19-Mar-14 23:59pm    
Thank you.You meant involving with Windows Thread?
Sergey Alexandrovich Kryukov 20-Mar-14 0:14am    
You are welcome.
For Windows, yes. There are threads and processes in Linux, *NIX, JVM, CLR, and many other platforms...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900