Files
ardour/libs/pbd
Robin Gareus a95be76741 rework request invalidation
This kills 2 birds with 1 stone: Removes the necessity of locks
and makes call_slot() realtime safe (req->invalidation->requests list
push_back). On object destruction, the invalidation-record (IR) itself is
invalidated.

Invalidated IRs are pushed onto a trash-pool and deleted in the event-loop
of the invalidated object (GUI thread) once all requests that reference it
have been processed.

One last detail remains: PBD::signal connect should reference the IR
and disconnect unreference it. This will guarantee that signal emission
will not reference the IR while the pool trash is dropped.
2016-12-15 06:11:30 +01:00
..
2016-12-15 06:11:30 +01:00
2016-06-26 16:43:07 +02:00
2015-10-05 16:17:49 +02:00
2016-12-15 06:11:30 +01:00
2015-10-05 16:17:49 +02:00
2009-04-18 16:15:12 +00:00
2015-10-05 16:17:49 +02:00
2015-10-05 16:17:49 +02:00
2016-02-17 17:03:14 +01:00
2015-10-05 16:17:49 +02:00
2016-02-14 00:10:41 +01:00
2016-11-17 12:58:28 +01:00
2015-10-05 16:17:49 +02:00