Re: Threads & popup windows under mswin



Michael Torrie wrote:

The problem is that I can't tell you exactly how to do all this (the
inter-thread communication) under windows.

The easiest way to do it under GTK+ is g_idle_add. Called from your processing thread, it will tell the main loop to run the given function as soon as the main loop isn't doing anything else. Make sure that the function that you pass it returns FALSE so that it only gets called once.

--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/



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