]> 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)
committernds <nds@opencascade.com>
Wed, 13 Jan 2021 21:07:18 +0000 (00:07 +0300)
commitd511b727e3292936d43428146c0c1ea02068d6af
tree860d0d8f0e1cc456e63a52ed4833dda387e94a9e
parent724fe4d711fcf3e80e0bc4ef4b5d954383382ae7
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