]> OCCT Git - occt-copy.git/commit
0031921: Application Framework - reading OCAF data from several threads is not possible
authormpv <mpv@opencascade.com>
Mon, 16 Nov 2020 13:49:23 +0000 (16:49 +0300)
committersnn <sergey.nikonov@opencascade.com>
Wed, 17 Mar 2021 15:39:21 +0000 (18:39 +0300)
commit1c2a791545efc24fa7839cc54bdc04a1f12cca9e
tree29dc0ff521e94ea12d624195247c3955d0597f57
parent7f69b4e8c1af786aa19163c42301e3f0504be344
0031921: Application Framework - reading OCAF data from several threads is not possible

Make myLastFoundChild field of TDF_LabelNode that can be changed during accessing to different sub-labels in different threads as atomic (only for newer versions of compilers which support this "atomic").

Added definition of Standard_ATOMIC macro to the Standard_Macro.hxx

(cherry picked from commit e80a307718f10906bbfa3b3f8bbba681b6d06922)
src/Standard/Standard_Macro.hxx
src/TDF/TDF_LabelNode.hxx