mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
For now: use a single lock, which should fix all related crashes. optimize (with less contended partial locks) if this works.
This commit is contained in:
parent
9e4b972286
commit
7a1ff7ce8f
6 changed files with 48 additions and 54 deletions
|
|
@ -77,12 +77,10 @@ class MyEventLoop : public sigc::trackable, public EventLoop
|
|||
}
|
||||
|
||||
Glib::Threads::Mutex& slot_invalidation_mutex() { return request_buffer_map_lock; }
|
||||
Glib::Threads::Mutex& request_invalidation_mutex() { return request_invalidation_lock; }
|
||||
|
||||
private:
|
||||
Glib::Threads::Thread* run_loop_thread;
|
||||
Glib::Threads::Mutex request_buffer_map_lock;
|
||||
Glib::Threads::Mutex request_invalidation_lock;
|
||||
};
|
||||
|
||||
static MyEventLoop *event_loop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue