diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-12-13 14:38:47 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-01-26 13:03:46 (GMT) |
commit | 121e2b39043a4ffc6583f250aebb9a3a746076c1 (patch) | |
tree | 020ced8caef0b4de14106cd562d8b5618d9b11ae /src/gui/image | |
parent | 1d2d61f6b1cc2472f3cb28e4158fe12a675517ea (diff) | |
download | Qt-121e2b39043a4ffc6583f250aebb9a3a746076c1.zip Qt-121e2b39043a4ffc6583f250aebb9a3a746076c1.tar.gz Qt-121e2b39043a4ffc6583f250aebb9a3a746076c1.tar.bz2 |
Improve timer ID safety by using a serial counter per ID.
The high bits of the counter are not used, so we store a serial
counter there.
This has nothing to do with the serial counter used in
nextFreeTimerId, which is there for ABA protection.
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions