Hacker News new | past | comments | ask | show | jobs | submit login
Shared_ptr thread safety comes at a huge cost (nerds-central.blogspot.com)
5 points by code-dog on March 20, 2012 | hide | past | favorite | 1 comment



Yep. I have a policy of at least replacing any shared_ptr usage with intrusive_ptr, for that reason. (A downside they both share is that they have copy constructors.)




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: