]> OCCT Git - occt-copy.git/commit
0031921: Application Framework - reading OCAF data from several threads is not possible CR0_DMUReviewer_DR_1362
authormpv <mpv@opencascade.com>
Mon, 16 Nov 2020 13:49:23 +0000 (16:49 +0300)
committersnn <sergey.nikonov@opencascade.com>
Tue, 1 Dec 2020 11:26:00 +0000 (14:26 +0300)
commit982984812f7c3f2ba2a166d80bcbb39c439beab5
tree24944cfa4c0624574eb7888e2a2702c24af41e08
parentce60f5aac2e249ed0fa5bbe63878323ac10b1659
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
src/Standard/Standard_Macro.hxx
src/TDF/TDF_LabelNode.hxx