Use QAtomicInt for multi-thread safety

Authored by mreeves on Dec 1 2019, 10:29 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 6 2019, 2:09 PM
Parents
R983:85437698cbc6: Cleanup RecalcWordWrapRunnable
Branches
Unknown
Tags
Unknown