diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-07-19 16:27:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-26 13:40:07 +0200 |
commit | 33a55c5661299085c5e381f9aaf99b74ccc7b6b1 (patch) | |
tree | 80e51ce2f237ef7353f0f17092029e93984270f7 /src/gui/image/qmnghandler.cpp | |
parent | 6b82798ee73dc8aac6f6a6c4c12ff291d6d7e9e1 (diff) |
Use QFreeList for timer id allocation
The timer id allocator doesn't need a paylod (hence T=void), but we want
to tune the allocation 'strategy.' We allocate a maximum of 6 blocks
(like before), but the first block is twice as large as before and is
not static writable anymore. The initial value is 1 (0 is not a valid
timer id), but otherwise the constants are the same as the defaults.
Change-Id: Ied49ff4d7a6a8d69bc8c7bfa5475e4111446659f
Reviewed-on: http://codereview.qt.nokia.com/2161
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'src/gui/image/qmnghandler.cpp')
0 files changed, 0 insertions, 0 deletions