Re: using threads

From: Date: Tue, 16 Oct 2001 09:52:20 +0000
Subject: Re: using threads
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-289@lists.php.net to get a copy of this message
On Tue, Oct 16, 2001 at 03:35:05PM +0800, Alan Knowles wrote : > also consider using > > while (gtk::events_pending()) gtk::main_iteration(); > > in loops of code that otherwise would hang the interface.. Correct. This is even very useful when you want to update a statusbar (example, connecting to a host and fetching data) and start immidiately doing your thing. The statusbar won't getupdated until you rreturn to the mainloop. With the above code the statusbar gets updated before you start doing your thing. > the only snag I have seen so far is that libcurl 'connect' will freeze > untill it is successful or fails.. - So this needs to be fixed ? :) Yet I've to see a PHP-GTK based browsers. I've heard of people trying to start but didn't wanted to go into the hassle of doing it manually wich sockets. Would be nice if ftp_rawlist wouldn't block ... hm. - Markus

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