summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-05-28 10:07:00 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-05-31 15:11:49 +1000
commitfeb9949a11abbf244e0bfcdc128981596758de40 (patch)
tree7d23485587b0de48adfaa8b13d14e6de773d98ee /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
parent2666e68f49c4a8185de796438fd3f672fcec0365 (diff)
downloadqt4-tools-feb9949a11abbf244e0bfcdc128981596758de40.tar.gz
Fix multithreaded use of bearer management on Symbian.
Move more initialization code into initialize() function. The constructor for the SymbianEngine class can be called from any thread. Move all initialization into initialize() function which is guarinteed to be run in the main thread. This is required as some Symbian resources are not shared between thread in the same process. The implementation of the defaultConfiguration() function could only be called from the main thread. Cache a copy of the default network configuration when the configurations are updated and just return this when the defaultConfiguration() function is called. Only lock the engine mutex from external entry points. Remove need for locking in waitRandomTime() function. Prevents dead lock due to nested event loop. Task-number: QTBUG-10296
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions