https://medium.com/@ashishjsharda/fearless-concurrency-in-rust-a-practical-guide-to-atomic-types-5a8f424e0cb3