Re: [gtk-list] Re: multithreaded apps
- From: Bill Huey <billh mag ucsd edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: multithreaded apps
- Date: Fri, 16 Apr 1999 13:12:10 -0700 (PDT)
> 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.
Uh, the BeOS folks would either laugh at you or burst neck vein if you
said that to them.
That OS's GUI kit spawns a thread per window, which is quite astonishingly
cool and impressive when one sees it running three billion things at once
on the screen smoothly.
Has anybody thought about putting a facility like that on a per window
instance basis in the GTK ?
> Paul Braman
> aeon@tampabay.rr.com
bill
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]