make static bool static std::atomic<bool>
use std::atomic load() and store()
Merge pull request #1980 from gartung/static-fix-CondCore-ORA

Multithreading fixes -- make static bool static std::atomic<bool>