On 26.04.2017 14:20, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz at intel.com> > > This adds optional argument which indicates a suspend from IO thread > so the callback can choose to close the fd or leave it open. > --- I still don't like that approach. I'll send you a patch which handles the suspend/resume cycle correctly in my opinion. It also removes the necessity of an "acquire" method on the ofono side. Please take a look at the patch and let me know if it is OK for you.