Re: [gtk-list] Re: multithreaded apps




> A thread per window?  But that's insane -- it would create hundreds of 
> threads per application in no time.  Or do you mean "a thread per
> top-level window"?
> 

Yep, it's pretty insane and it's impressive as hell to to watch running
under and OS with a soft realtime scheduler. 

http://www.be.com/documentation/be_book/The%20Interface%20Kit/Window.html

=========
As a BLooper object, every BWindow spawns a thread (the window thread) where
it receives messages from the Application Server (and executes certain drawing
functions, as explained later).
=========

Look for the BLooper reference a page or two down from the top of the
document.

They've also got that ability to lock on to the screen retrace and do
funky things with that in the window thread.

I'd personally like to see some of these features in some X based GUI
kit, since this kind of stuff is unspeakably bitch'n.

bill



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