]> OCCT Git - occt.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)
committerbugmaster <bugmaster@opencascade.com>
Sat, 28 Nov 2020 09:36:06 +0000 (12:36 +0300)
commitb84b672185520e52a25d63b4487f285a068abc34
tree6642dab607017515f24a318eadb0dd812927af2d
parent9d9edcf49dd30dcae3081022fdc1f2bc5f6af4bc
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