chore: use std::AtomicPtr
and std::AtomicU8
#5071
Merged
std::AtomicPtr
and std::AtomicU8
#5071