Use QAtomicInt for multi-thread safety

Authored by mreeves on Dec 1 2019, 10:27 PM.

Description

Use QAtomicInt for multi-thread safety

Make s_maxNofRunnables QAtomicInt avoids undefined muti-thread behavoir.
Optimizations can otherwise cause a race by reusing the variables memory
location.

Details

Committed
mreevesDec 1 2019, 10:27 PM
Parents
R983:1ff41090d642: Add warning about MergeResultWindow::initActions call placement
Branches
Unknown
Tags
Unknown