diff options
| author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-10-01 07:44:55 (GMT) |
|---|---|---|
| committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-12-20 15:49:39 (GMT) |
| commit | feb0b0cd47808a77a048c6a13686d39a0540a488 (patch) | |
| tree | c4ef4eaf2250300ae7bf019d6717c1baa902a0fc /doc/src/snippets/code/src_script_qscriptable.cpp | |
| parent | d9e35493d494df60d771a928a8d0dbde2b66906e (diff) | |
| download | Qt-feb0b0cd47808a77a048c6a13686d39a0540a488.zip Qt-feb0b0cd47808a77a048c6a13686d39a0540a488.tar.gz Qt-feb0b0cd47808a77a048c6a13686d39a0540a488.tar.bz2 | |
Remove unnecessary testAndSetAcquire from QMutex::lockInternal()
QMutexPrivate::wait() will take care of doing another test for the lock
before putting the thread to sleep, so we can avoid another if().
Reviewed-by: joao
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptable.cpp')
0 files changed, 0 insertions, 0 deletions
