D5966: Fix race-condition in KRandom-seeding.

Thomas Friedrichsmeier noreply at phabricator.kde.org
Fri May 26 07:45:55 UTC 2017


tfry added a comment.


  In https://phabricator.kde.org/D5966#111878, @rjvbb wrote:
  
  > but I also didn't verify if QSet::insert is thread-safe.
  
  
  Ouch, you're right, it isn't. QThreadStorage it shall be, then (until we can use thread_local). That also handles thread-destruction, properly.

REPOSITORY
  R244 KCoreAddons

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

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


More information about the Kde-frameworks-devel mailing list