Re: Is g_source_remove threadsafe?

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.


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