What would be a scenario where you would want to mark std::atomic<T> or std::atomic_flag as volatile (if there is one)?
What about a std::atomic_flag that's used in an interrupt handler? Does that need to be marked as volatile?
What would be a scenario where you would want to mark std::atomic<T> or std::atomic_flag as volatile (if there is one)?
What about a std::atomic_flag that's used in an interrupt handler? Does that need to be marked as volatile?
Copyright © 2021 Jogjafile Inc.