Re: [gtk-list] multithreaded apps




On Fri, 16 Apr 1999, Nathan Clegg wrote:

> What's the best way to handle multithreaded GTK applications?  Should
> the non-main threads just be generating events for the main thread to
> handle graphically?  Can I generate real GTK events or will that cause
> the callback to be in the non-main thread?

The best way to handle multithreading is to have a *single* thread handle
all interactions with GTK.  Other threads should do work not related to
interacting with the user.  That's my suggestion, anyway.


Paul Braman
aeon@tampabay.rr.com



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