Is there any data race in Visual C++'s implementation of rand()?

  • Thread starter Thread starter 我我我
  • Start date Start date

我我我

Guest
It is said that rand() uses internal state objects and therefore may cause data races with concurrent calls. But on the other hand C++ library implementations are allowed to guarantee no data races for calling this function. So, for Visual C++ specifically (the version shipped with Visual Studio 2015), is there any data race in rand()?

Continue reading...
 
Back
Top