Re: gio deadlock



On Mon, 2008-02-25 at 13:06 +0100, Alexander Larsson wrote:
> On Fri, 2008-02-22 at 14:43 -0500, David Zeuthen wrote:
> > Saw this earlier today when hacking on some other code ... perhaps we
> > need to replace all the locks in gio with recursive ones?
> 
> I don't think just plugging in recursive locks is a good idea. That kind
> of recursion is just begging for other types of issues. We should emit
> signals like file change events and volume monitor events from an idle
> or another toplevel mainloop source.

I fixed this particular one by emitting changes in an idle.




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