We are using parallel_for in our software to perform easily concurrent execution of some work. Now I was read in https://msdn.microsoft.com/en-us/library/hh409293(v=vs.140).aspx breaking changes + the blog in https://blogs.msdn.microsoft.com/vcblog/2015/07/14/stl-fixes-in-vs-2015-part-2/ and the worry starts.
- Means that I can’t use any synchronization object inside parallel_for then at least all are based on OS sync primitives? And when the answer is yes, how MS expect to synchronize anything inside parallel_for?
- Did anyone known under with situation a deadlock will appears between the OS scheduler and the ConRt scheduler how is described in the blog? Did anyone face this deadlock? If this is true, parallel_for comes to be completely senseless.
Thx for response!