memory, [...]: Use mutex to make _Sp_counted_base::add_ref_lock() thread-safe.