summaryrefslogtreecommitdiffstats
path: root/header.FDL
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <dangelog@gmail.com>2012-02-16 23:49:27 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-07 02:02:50 +0100
commita47d974e19512ae5a445f64fbd2b1703201f781d (patch)
treecf1d357ac48c3792d21deef96f7bf7262efa4fb2 /header.FDL
parent6e58dd34ac96e2cf0807a227caaef74d15e272e7 (diff)
QRegularExpression: fix optimizePattern, document the issue
The studyData pointer is atomically set by the pointer assignment, but another processor running a different thread might see the new studyData value but not the memory it points to. Therefore, the current studyData is returned from optimizePattern and used by that thread. Docs were added to optimizePattern to explain what's going on. Change-Id: I4502c336077bb98a1751011aa93ffd4f585ed101 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions