Update if not Expired on Weak Pointer in Multi-Threaded Context
Advertisements The client holds a shared pointer to a value say double, and a server updates this value on another detached thread by holding a weak_pointer, the server checks if the weak_pointer is expired and if it is not, it is deleted from a safe vector. I suspect this would not work as the shared_ptr… Read More Update if not Expired on Weak Pointer in Multi-Threaded Context