id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7125,weak_ptr::lock() thread safety,Gennady Proskurin ,Peter Dimov,"Imagine the following code: {{{ shared_ptr sp(new ...); weak_ptr wp(sp); sp.reset(); // thread A shared_ptr sp1 = wp.lock(); // thread B }}} It is not clear from documentation, whether it is safe to call shared_ptr::reset() and weak_ptr::lock() concurrently in different threads. It is very frequently asked question and should be documented explicitly. ",Feature Requests,new,To Be Determined,smart_ptr,Boost 1.50.0,Problem,,,