D5966: Fix race-condition in KRandom-seeding.

Thomas Friedrichsmeier noreply at phabricator.kde.org
Wed May 24 21:20:57 UTC 2017


tfry added a comment.


  On further investigation, I see that qsrand() would probably have to be called for //each// thread, in any case. So that would mean keeping track of initialization state in a QThreadStorage<bool>?

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D5966

To: tfry, dfaure
Cc: tfry, rjvbb, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170524/677a0519/attachment.html>


More information about the Kde-frameworks-devel mailing list