diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-15 06:11:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-15 06:11:30 +0100 |
commit | a95be76741c29a6ec1eb9684eed1696b3fb405d6 (patch) | |
tree | 60445d9519f26bf6bd5228caaffbbfdae50cb450 /README | |
parent | 62b06fa427b4f432f82510f51e4b6920280b17a8 (diff) |
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.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions