]> 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)
committerage <age@opencascade.com>
Fri, 11 Dec 2020 05:31:21 +0000 (08:31 +0300)
commite80a307718f10906bbfa3b3f8bbba681b6d06922
tree977b65c7b13cc20383d82c3a7b77d814c33beab5
parent726a195668001f61bef52ec87743bbb3cf1b6be6
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