zombie GTK thread



I got a test application working that does much of what I need in a multi-threaded
GTK app, but there is some wierdness I cannot explain.

main()
  build a window with menus and response functions
  one menu response function launches a thread function

threadFunction()
  build a dialog box
  connect response functions
  exit thread

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?





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