summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-12-08 14:00:46 +0000
committermread <qt-info@nokia.com>2011-12-08 15:49:05 +0000
commit8ed37d9bba6e2899724d13bd3ba8911c505b1c8c (patch)
tree8251072be895f4b36693547fe05abc1e4ca31326 /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
parent258bc6752b2896846ce757ffd8f71de16028a27b (diff)
downloadqt4-tools-8ed37d9bba6e2899724d13bd3ba8911c505b1c8c.tar.gz
Symbian: improving diagnostics for QWaitCondition
If a QWaitCondition was deleted while it was waiting, it would crash in the wait() function while trying to use its internal mutex. This crash is not particularly obvious in its cause. QWaitCondition can detect this delete-while-waiting case, issue appropriate warnings and avoid a crash in its internal state. In the app crash case where this problem was found, there is a further crash after this one due to an externally deleted mutex. The app is clearly at fault. But at least there's now more debug info about what the app is doing wrong. Task-number: ou1cimx1#946509 partial fix Reviewed-by: Shane Kearns
Diffstat (limited to 'doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions