equal
deleted
inserted
replaced
768 |
768 |
769 #if defined (_STLP_DO_CLEAN_NODE_ALLOC) |
769 #if defined (_STLP_DO_CLEAN_NODE_ALLOC) |
770 struct __node_alloc_cleaner { |
770 struct __node_alloc_cleaner { |
771 ~__node_alloc_cleaner() |
771 ~__node_alloc_cleaner() |
772 { |
772 { |
773 __node_alloc_impl::_S_dealloc_call(); |
773 __node_alloc_impl::_S_dealloc_call(); |
|
774 #ifndef _STLP_USE_LOCK_FREE_IMPLEMENTATION |
|
775 std::_Node_Alloc_Lock::_S_lock._M_destroy(); |
|
776 #endif//_STLP_USE_LOCK_FREE_IMPLEMENTATION |
774 } |
777 } |
775 }; |
778 }; |
776 |
779 |
777 # if defined (_STLP_USE_LOCK_FREE_IMPLEMENTATION) |
780 # if defined (_STLP_USE_LOCK_FREE_IMPLEMENTATION) |
778 _STLP_VOLATILE __stl_atomic_t& _STLP_CALL |
781 _STLP_VOLATILE __stl_atomic_t& _STLP_CALL |