Mart Raudsepp 3fa4ff0562 multiqueue: Fix potential deadlock with parallel release_pad calls
Commit d3a66f9851ea introduced a potential deadlock with two parallel release_pad
calls, where one could release the main multiqueue lock (qlock) while still
holding the reconf_lock and then calling other routines which in some conditions
may try to acquire qlock again. The second release_pad could already acquire the
qlock and then start waiting on reconf_lock, which may never be possible because
because the first one isn't releasing it until it can acquire qlock.

Fix it by holding reconf_lock for the whole durationg of qlock, making this
particular deadlock impossible.

Fixes #1642

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3571>
2022-12-23 13:08:54 +00:00
..
2022-12-20 14:03:35 +00:00
2022-12-20 14:10:01 +02:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-20 14:03:35 +00:00
2022-12-05 02:29:08 +00:00
2022-09-17 22:41:40 +00:00
2022-12-10 15:13:09 +00:00
2022-09-23 11:08:06 -04:00
2022-11-18 00:50:56 +00:00
2022-12-05 02:29:08 +00:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-12-10 15:13:09 +00:00
2022-12-10 15:13:09 +00:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-10-31 23:50:28 +00:00
2022-12-10 15:13:09 +00:00
2022-12-10 15:13:09 +00:00
2022-12-10 15:13:09 +00:00