문제

I need to use threads with Visual Studio 2010, but that doesn't support C++ thread library (I can't use just library). Does anybody know another way?

도움이 되었습니까?

해결책 2

Personally I have always preferred to use the beginthreadex functions on windows. Docs are msdn beginthreadex

It is supported across all versions on windows and its compilers

다른 팁

There are many different threading libraries that you can use in Windows.

If you want to use support from library, you can use Boost.Thread, Poco::Thread threading support from Poco or even Qt. However, you can still use Win32 support for threading in form of CreateThread function and its variants.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top