Re: Multhithreading internals in GTK+



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]