Thread safe changes for DTTrig class
Remove #if statements in source code
Add memory order for atomic operations
Merge pull request #910 from vkuznet/ThreadSafe_DTObjects_DTTtrig

Thread safety fixes -- Thread safe changes for DTTrig class