r-lyeh-archived/sole

uuid4 does not seem to be thread safe.

y20Lion opened this issue · 0 comments

uuid4() constructor uses a static variable : static std::random_device rd;
I don't think that random_device is guaranteed to be thread safe.
If that's the case, a potential fix could be to add the thread_local qualifier to the variable declaration.