path: root/qmake
diff options
authorChristian Strømme <>2013-10-11 14:55:33 +0200
committerThe Qt Project <>2013-10-17 01:49:19 +0200
commit021c79f038c218a55b145fafcda5c59cf3a309d8 (patch)
tree7fad7d283bafcc49a43c6e6836d5e04b3c9a4314 /qmake
parentd0b419e35521d50f1409de84f99ded3b9a7ab01d (diff)
Android: Use java.util.Random in qrand()
Android does not provide rand_r(), so we would fall back to rand() and srand() which means we where not keeping the promise of qrand and qsrand being thread-safe. As a replacement we can use the Java api and have one Random object for each thread. Task-number: QTBUG-32814 Change-Id: Id46d195a0bb122bc7a5a8de43bdf088e11a9c42e Reviewed-by: Eskil Abrahamsen Blomfeldt <>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions