[PATCH v1 0/2] Use private D-Bus connections to fix issue with NameLost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>

Patch 2/2 is solving an issue affecting Bluetooth (and probably other users) since commit 6be6766b58b3fa668a95563ac72ebe9970643cad.

The proposed approach uses private D-Bus connections and therefore patch 1/1 is needed, not to break the behavior of the "busy" flag.

v1 avoids global variables in reserve-monitor as suggested by Tanu. This is possible under some assumptions, but it makes the logic in reserve-wrap a bit tricky since any possible ordering should be supported for the instantiation and release of a pa_reserve_wrapper and it's corresponding pa_reserve_monitor_wrapper.

Mikel Astiz (2):
  reserve: Add support for private D-Bus connections
  reserve: Fix leaking NameLost signals after release+acquire

 src/modules/reserve-monitor.c | 29 +++++++++++++++++---
 src/modules/reserve-monitor.h |  7 +++++
 src/modules/reserve-wrap.c    | 64 +++++++++++++++++++++++++++++++++++++++----
 3 files changed, 91 insertions(+), 9 deletions(-)

-- 
1.7.11.7



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux