Skip to content

Commit 2e3bc62

Browse files
committed
Make threadsPauseMode atomic
1 parent 3efb80c commit 2e3bc62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/slg/engines/rtpathcpu/rtpathcpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class RTPathCPURenderEngine : public PathCPURenderEngine {
117117
bool firstFrameDone;
118118

119119
std::barrier<completion_t> *threadsSyncBarrier;
120-
bool threadsPauseMode;
120+
std::atomic<bool> threadsPauseMode;
121121
};
122122

123123
}

0 commit comments

Comments
 (0)