Multhithreading internals in GTK+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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.

I was trying to instrument a GTK+ based applications like Gedit using instrumentation tools like PIN. I found that as the instrumentation overhead increased there were more threads generated. This was weird, as one would expect, with the notion of threads as workers the number of threads needs to stay constant for the same input, whatever be the slowdown.

This probably could be because Gedit does something smart based on the overhead, which I would highly suspect and moreover I see this with other GTK based applications too. (or) There are threads generated for
additional events like additional mouse movements etc.

What do you think could be a reason?

Can someone explain?

Thanks
Vish
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux