genericopenlibs/cppstdlib/stl/src/allocators.cpp
changeset 71 28ccaba883f4
parent 49 e5d77a29bdca
equal deleted inserted replaced
67:a1e347446159 71:28ccaba883f4
   764 
   764 
   765 #if defined (_STLP_DO_CLEAN_NODE_ALLOC)
   765 #if defined (_STLP_DO_CLEAN_NODE_ALLOC)
   766 struct __node_alloc_cleaner {
   766 struct __node_alloc_cleaner {
   767   ~__node_alloc_cleaner()
   767   ~__node_alloc_cleaner()
   768       {
   768       {
   769       __node_alloc_impl::_S_dealloc_call(); 
   769       __node_alloc_impl::_S_dealloc_call();
       
   770 #ifndef _STLP_USE_LOCK_FREE_IMPLEMENTATION
       
   771       std::_Node_Alloc_Lock::_S_lock._M_destroy();
       
   772 #endif//_STLP_USE_LOCK_FREE_IMPLEMENTATION
   770       }
   773       }
   771 };
   774 };
   772 
   775 
   773 #  if defined (_STLP_USE_LOCK_FREE_IMPLEMENTATION)
   776 #  if defined (_STLP_USE_LOCK_FREE_IMPLEMENTATION)
   774 _STLP_VOLATILE __stl_atomic_t& _STLP_CALL
   777 _STLP_VOLATILE __stl_atomic_t& _STLP_CALL