libstdc++ の shared_ptr はポインタ2つ分のサイズがあるので atomic operation は難しいんじゃないかと思う、知らんけど
@SubaruG そういうときに困らないように新しめのx86_64にはcmpxchg16b(128bit AtomicCAS)なんていうえげつない命令が用意されてるけど、他のアーキテクチャの対応状況は恐らく壊滅的
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
@SubaruG そういうときに困らないように新しめのx86_64にはcmpxchg16b(128bit AtomicCAS)なんていうえげつない命令が用意されてるけど、他のアーキテクチャの対応状況は恐らく壊滅的