Re: compiler optimization causing issues with glib
- From: Stef Walter <stefw gnome org>
- To: Mike <puffy taco gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: compiler optimization causing issues with glib
- Date: Fri, 25 May 2012 23:28:37 +0200
On 05/25/2012 11:14 PM, Mike wrote:
> Unfortunately, I just managed to get this error to trigger now even
> with the optimization changes, which is probably good -- I'd like to
> trust the compiler! In any case, is there a document anywhere that
> describes the different threads that glib sets up? As far as I can
> tell, there are 2 threads in all of my glib applications. This
> application uses gdbus and upon a method call, calls g_spawn_async
> followed by g_child_watch_add. As far as I'm concerned it is supposed
> to be single threaded. So, I'd like to know what is expected of the
> various threads and why they exist in my otherwise single-threaded
> application.
gdbus creates a worker thread. Not sure if this is explicitly
documented, but it is talked about all over the place in the GDBus*
documentation. Like this page:
http://developer.gnome.org/gio/2.32/GDBusConnection.html
Cheers,
Stef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]