
22 Sep
2011
22 Sep
'11
2:23 a.m.
Hi, I was looking over Boost.Intrusive and specifically the section regarding smart pointers. I am mostly interested in the linked lists, so I don't have any need for size(); auto-unlink however is extremely useful to me. If I replace the default pointer with my thread-safe smart_ptr-like type (for example a wrapper that instead of doing reference counting, it guards the pointers with a mutex), do you think that the resulting intrusive container will be thread-safe? Has anyone attempted anything similar? Thanks