Re: Is g_source_remove threadsafe?
- From: Alexander Larsson <alexl redhat com>
- To: Tim Janik <timj gtk org>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Is g_source_remove threadsafe?
- Date: Fri, 16 Nov 2007 14:12:57 +0100
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]