Re: Is g_source_remove threadsafe?



On Fri, 2007-11-16 at 14:04 +0100, Tim Janik wrote:
> On Fri, 16 Nov 2007, Alexander Larsson wrote:
> 
> > I'm doing something where i have one thread queueing idles and timeouts
> > in a thread, and the main loop consumes this. In some cases i want to
> > remove the sources (to replace a timeout with an idle). However:
> 
> > Am I missing something obvious here?
> 
> simply use g_source_remove (id) instead.

Eh, thats the call I talked about.



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