diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-14 22:38:37 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-14 22:39:25 +0100 |
commit | 62b06fa427b4f432f82510f51e4b6920280b17a8 (patch) | |
tree | d3e5bd9e92a4b0492c6307a8c317fc6dd20580bb /libs/pbd/pbd/event_loop.h | |
parent | 07bcdc7f0a5b2702eff92716ab42228c6977ce94 (diff) |
Add a trash pool for invalidation requests.
While EventLoop::invalidate_request() does invalidate request in the
request-list. It does *not* invalidate requests in the
per-thread-request-ringbuffer(s).
The invalidation record cannot be deleted in EventLoop::invalidate_request
see 6b5891a78f.
Diffstat (limited to 'libs/pbd/pbd/event_loop.h')
-rw-r--r-- | libs/pbd/pbd/event_loop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/pbd/event_loop.h b/libs/pbd/pbd/event_loop.h index 6fd92c49c8..e84832ebcb 100644 --- a/libs/pbd/pbd/event_loop.h +++ b/libs/pbd/pbd/event_loop.h @@ -99,6 +99,8 @@ public: static void pre_register (const std::string& emitting_thread_name, uint32_t num_requests); static void remove_request_buffer_from_map (void* ptr); + std::list<InvalidationRecord*> trash; + private: static Glib::Threads::Private<EventLoop> thread_event_loop; std::string _name; |