Re: Multhithreading internals in GTK+
- From: Vishwanath Venkatesan <venkates cs columbia edu>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtk-list gnome org
- Subject: Re: Multhithreading internals in GTK+
- Date: Wed, 9 Dec 2009 12:54:01 -0500
I did see this behavior when I instrumented Gedit with PIN. Whenever
there is a dialog box spawned, there are thread spawned. The behavior
is random, and moreover I don't think I used any GFS. It was on a VM
running Ubuntu.
Any intuitions why this is happening?
Vish
On Dec 9, 2009, at 7:31 AM, Paul Davis wrote:
On Wed, Dec 2, 2009 at 10:24 AM, <jcupitt gmail com> wrote:
Hi Vish,
2009/12/2 Vishwanath Venkatesan <venkates cs columbia edu>:
I am trying to understand the internals of threading in GTK+-2.0.
From my
understanding there are threads generated with GTK+ functions (ex.
Opening a
file-dialog) even without explicit threading.
That's not correct. Gtk+ is a single-threaded system with an event
loop.
That's not true for things that involve GFS. The file dialog does
indeed create its own threads, mostly because of the implementation of
GFS.
Other than that, what John said is true.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]