std::thread for game's plugin

I was using the std::thread and std::mutex for the code that I’m using.

But apparently std::thread has an #include concrt.h statement inside of its header. So Unreal gives me the error(when I tried to package game):


 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\concrt.h(313) : error C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\concrt.h(4774) : error C3861: '__uncaught_exception': identifier not found

Looks like someone came across this error already, give this a shot: