Make reference counting in activeQt container multi-processor safe
authorjian liang <jianliang79@gmail.com>
Wed, 29 Feb 2012 14:46:03 +0000 (22:46 +0800)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Mar 2012 17:01:49 +0000 (18:01 +0100)
commit230fe9ff1ab037910071a6b7e2656df158a787f1
tree2ca10fd84ff523a954ddcd69316657ddde73cd4b
parentec75fa7376a1508fe2b4d7685e23d35838945756
Make reference counting in activeQt container multi-processor safe

Use InterlockedIncrement() and InterlockedDecrement() to implement
reference couting in activeQt container to make it multi-processor safe.

Change-Id: Ibe7daab69c27117bb3e35c10ba273bccd29afc69
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
(cherry picked from commit ad70be4e5b5c55bd838c389bda7d83c2726a69ea)
src/activeqt/container/qaxbase.cpp
src/activeqt/container/qaxscript.cpp
src/activeqt/container/qaxwidget.cpp