3 May
2011
3 May
'11
4:15 a.m.
shared_ptr< Session >* is not a shared ptr, it is a RAW ptr to shared_ptr< Session>.
Yes, I know this. The pointer you call the RAW pointer is owned only by one object. It doesn't make the implementation wrong. My issue concerns the addref/decref behaviour that occurs simultaneously within two different threads.