Re: [gentoo-portage-dev] [PATCH] Eventloop: fix deadlock involving idle_add/call_soon (bug 617550)

2017-05-05 Thread Zac Medico
On Fri, May 5, 2017 at 10:51 AM, Brian Dolbec wrote: > On Fri, 5 May 2017 02:12:53 -0700 > Zac Medico wrote: > > > Guarantee that newly added idle_add/call_soon callbacks have an > > opportunity to execute before the event loop decides to wait on > >

Re: [gentoo-portage-dev] [PATCH] Eventloop: fix deadlock involving idle_add/call_soon (bug 617550)

2017-05-05 Thread Brian Dolbec
On Fri, 5 May 2017 02:12:53 -0700 Zac Medico wrote: > Guarantee that newly added idle_add/call_soon callbacks have an > opportunity to execute before the event loop decides to wait on > self._thread_condition without a timeout. This fixes a case where > the event loop would

[gentoo-portage-dev] [PATCH] Eventloop: fix deadlock involving idle_add/call_soon (bug 617550)

2017-05-05 Thread Zac Medico
Guarantee that newly added idle_add/call_soon callbacks have an opportunity to execute before the event loop decides to wait on self._thread_condition without a timeout. This fixes a case where the event loop would wait on self._thread_condition indefinitely, even though a callback scheduled by