[Boost-bugs] [Boost C++ Libraries] #8533: signal garbage collection of slot objects

Subject: [Boost-bugs] [Boost C++ Libraries] #8533: signal garbage collection of slot objects
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-01 15:03:29


#8533: signal garbage collection of slot objects
------------------------------+---------------------------------------------
 Reporter: fmh6jj@… | Owner: fmhess
     Type: Tasks | Status: new
Milestone: To Be Determined | Component: signals2
  Version: Boost 1.52.0 | Severity: Optimization
 Keywords: |
------------------------------+---------------------------------------------
 Some people find the garbage collection scheme used by signals to destroy
 their disconnected slot surprising, in that slot objects inside the signal
 are not necessarily destroyed promptly upon their disconnection. An
 alternative scheme would be to reference count the use of each slot object
 and destroy it when it is disconnected and no longer needed by any ongoing
 signal invocation. Care would need to be taken to avoid a heavy
 performance impact (we probably wouldn't want to add an atomic reference
 count, but rather rely on the existing signal mutex for thread saftey).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8533>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC