diff options
author | Jian Liang <jianliang79@gmail.com> | 2012-02-29 01:23:47 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-29 08:20:03 (GMT) |
commit | 78faf96e5fd4bf6c1f37aa7f89229fa9bf3dd70d (patch) | |
tree | 9c2b2e57a77d53c4dbafbfacb5da2d6c0469619a /header.FDL | |
parent | 0ba850c7a2dbccb8dd6aa1664679bda6cce95065 (diff) | |
download | Qt-78faf96e5fd4bf6c1f37aa7f89229fa9bf3dd70d.zip Qt-78faf96e5fd4bf6c1f37aa7f89229fa9bf3dd70d.tar.gz Qt-78faf96e5fd4bf6c1f37aa7f89229fa9bf3dd70d.tar.bz2 |
Make reference counting for QAxClientSite multi-processor safe
It is not safe to use ++long/--long to implement reference counting for
COM object in multi-processor environment. We use InterlockedIncrement()
and InterlockedDecrement() to implement reference counting.
Change-Id: Ibfc5f3456cbaefb9267feb378483c5c60c305f00
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions