Fully thread-safe shared_ptr implementation

后端 未结 9 1668
面向向阳花
面向向阳花 2021-02-02 17:02

Does anybody know of a fully thread-safe shared_ptr implementation? E.g. boost implementation of shared_ptr is thread-safe for the targets (refcounting

9条回答
  •  忘掉有多难
    2021-02-02 17:28

    You can use this implementation Atomic Reference Counting Pointers to at least implement the Reference Counting mechanism.

提交回复
热议问题