std::atomic_shared_ptr
Mikhail Matrosov
mikhail.matrosov@gmail.com
Wed Jun 2 14:37:04 GMT 2021
> Probably not, because it would require ABI-breaking changes to
std::shared_ptr, which is out of the question.
Could you please elaborate on that? I can see how folly uses
std::shared_ptr directly:
https://github.com/facebook/folly/blob/master/folly/concurrency/AtomicSharedPtr.h#L76
https://github.com/facebook/folly/blob/master/folly/concurrency/detail/AtomicSharedPtr-detail.h#L45
-----
Best regards, Mikhail Matrosov
More information about the Libstdc++
mailing list