Re: pthreads - code thoughts....

From: Date: Thu, 06 Sep 2001 04:22:59 +0000
Subject: Re: pthreads - code thoughts....
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-52@lists.php.net to get a copy of this message
At 03:13 AM 9/6/01 +0000, Alan Knowles wrote:
I think I get this now.... the while (gtk::events_pending())
                gtk::main_iteration()
inside the dir listing etc. will see if any calls are pending. - if they are, it will process them, when they are finished it will carry on. so user expands tree: do a dir listing, and start adding the data (meanwhile calling events pending..) while this is happending, the user expands a new tree, - this process will become the active one, eg. the old expansion will appear to pause untill the new one is completed... in effect acting like multitasking, however giving the users 'last' action priority in the queue...
Yep. -Andrei

« previous php.gtk.general (#52) next »