Re: g_idle_add patch proposal



On Tue, 2013-05-28 at 10:19 +0200, Roland Peffer wrote:
Hi Juan,

the modification will not have any consequences as long you not 
create a new thread,

How do I cancel the pending operations?

 and on that thread a new main context and push that context.

I studied the glib implementation and I think this is the best way to do so.

You call it a fix, it certainly stops the symptoms, but creates a host
of new problems. Fixing it properly is harder, but completely ignoring
synchronisation and cancellation problems isn't a good way to go.




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