Re: [gtkmm] multi threading



On Fri, 2002-06-28 at 14:01, Paul Davis wrote:
> >I'm looking for someone that can tell me how I can use the gtk-- GUI in
> >a multi threading program. For some reason no GUI toolkit available
> >supports threads (I wonder why).
>
> the preferred method is to limit all use of gtkmm/GTK+/GDK/Xlib
> functions to a single thread. when other threads want work done, they
> send a request to the GUI thread via a pipe, which is hooked into the
> main event loop of the GUI toolkit.

Paul, I guess it's time you wrote an FAQ entry for us:
http://www.gtkmm.org/docs/gtkmm-faq.html

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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