summaryrefslogtreecommitdiff
path: root/libs/waveview
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-26 20:25:31 +0200
committerRobin Gareus <robin@gareus.org>2020-04-26 20:25:31 +0200
commitde819e579afe325247a8e5472dd35347ec237a65 (patch)
treeffa9cd4219340da3720562b79b76991a8120e5ed /libs/waveview
parent68799805aabde52749eb3ae4919cb784eddc01e0 (diff)
Fix a deadlock (process_lock vs _update_latency_lock)
The backend may call update_latency() while at the same time the auto-connect-port calls set_worst_io_latencies(). The latter already holds the process-lock, so update_latency() first needs to acquire it, as well. If one already holds the _update_latency_lock, one must not ask for the process-lock. --- Previously Ardour's connection manager first took the process_lock and then waited to the _update_latency_lock. Meanwhile jack calls latency_callback(), takes the _update_latency_lock and waits for the process_lock. Classic deadlock.
Diffstat (limited to 'libs/waveview')
0 files changed, 0 insertions, 0 deletions