diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-04-21 18:17:08 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-18 10:32:31 (GMT) |
commit | c25a6e090c8074e68d7eb40f2533da8bab5e7dd8 (patch) | |
tree | 0d881265383a23871aa6f93c02f756b5dc8d36e1 /doc/src/snippets/code/src_script_qscriptvalue.cpp | |
parent | aef03d80f7d9b71dfe777cd7927808d69dac0c27 (diff) | |
download | Qt-c25a6e090c8074e68d7eb40f2533da8bab5e7dd8.zip Qt-c25a6e090c8074e68d7eb40f2533da8bab5e7dd8.tar.gz Qt-c25a6e090c8074e68d7eb40f2533da8bab5e7dd8.tar.bz2 |
Inline the common case when there is no contention.
QMutex locking could be used in performence critical code (such
as QObject and co.) where the cost of a function call is
not neglectible. This would slow down the common case where
there is only one thread and no contention.
Since we need to keep the old symbol for binary compatibilty, introduce
new *Inline function.
Reviewed-by: Brad
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalue.cpp')
0 files changed, 0 insertions, 0 deletions