Re: Is g_source_remove threadsafe?
- From: Tim Janik <timj gtk org>
- To: Alexander Larsson <alexl redhat com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Is g_source_remove threadsafe?
- Date: Fri, 16 Nov 2007 14:04:58 +0100 (CET)
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.
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]