gtk_main_quit from another thread



Hello,
    What is the correct/nice way of asking a thread to stop from the
main thread if that thread is in a gtk_main (). I simply call
gtk_main_quit () from my main thread and then wait for that thread to
actually finish calling g_thread_join (). I've a hunch that there is
something wrong with this technique. Am i right? Thanks in advance.
Bye.



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