TIL that std::shared_ptr is not quite thread-safe: www.modernescpp.com/index.php…