Re: zombie GTK thread
- From: Tristan Van Berkom <tvb gnome org>
- To: kornelix <kornelix yahoo de>
- Cc: gtk app dev mail list <gtk-app-devel-list gnome org>
- Subject: Re: zombie GTK thread
- Date: Wed, 08 Feb 2006 17:13:00 -0500
kornelix wrote:
[...]
The dialog box is left running after the thread exits, and it works OK.
The thread that created it is long gone but the dialog response
functions still work.
What thread are they running in?
Gdk has a connection with the X server and adds the
file desctiptor to the poll() in the main loop.
When events are delivered to GTK+, poll() returns (deep inside
gtk_main()) and the event is sent to the appropriate widget.
All events are delivered in the main thread.
Cheers,
-Tristan
Note: threads are only threads of execution; callbacks and data
do not belong to a thread.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]