Boost logo

Boost Users :

Subject: Re: [Boost-users] Memory deallocation concerning boost::bind, boost::asio and shared_ptr
From: Norman (kradepon_at_[hidden])
Date: 2016-04-28 11:26:06


Yeah, was my first idea too, but I checked that.

My posted code is only a summary of the essential code passage, but i also
tried to allocate and deallocate the memory multiple times, hoping, that the
C++ runtime still "owned" the memory and hence would be able to manage the
second, third, ... and so on allocation, without acquiring more memory from
the OS, but every allocation took the same amount of memory from the OS.

--
View this message in context: http://boost.2283326.n4.nabble.com/Memory-deallocation-concerning-boost-bind-boost-asio-and-shared-ptr-tp4685746p4685749.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net