Porting CreateThread calls to Win8 / WinRT App
问题 I need to call a C++ library from my C# Win8/WinRT app. The library is multithreaded and manages threads through calls to the Win32 API ( WaitForSingleObject , etc.). I was able to figure out the replacements for all these calls (there is always a ...Ex version available for Apps, e.g. WaitForSingleObjectEx from <synchapi.h> see there if you're looking for it). But there is one call I cannot figure out how to replace: it is a call to the CreateThread function. There is no equivalent, so it