Devinder S on Wed, 25 Apr 2012 21:28:51

Are the C++11 threading APIs supported for Metro apps, in particular std::thread but also locks, std::condition_variable, std::atomic?



Jesse Jiang on Fri, 27 Apr 2012 09:25:39


Yes, you can use them in metro. But we would suggest you to use Concurrency Namespace in C++/CX

Also, you can follow this blog for PPL C++/CX

Best regards,

Steve Horne on Fri, 27 Apr 2012 18:21:23

Related info -

Bottom line 1) Compile CRT referencing code with preprocessor defininition WINAPI_FAMILY=WINAPI_FAMILY_APP at the project level 2) If it compiles, it's safe for Metro style.