Re: multithread

From: Date: Tue, 09 Jul 2002 01:04:26 +0000
Subject: Re: multithread
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2230@lists.php.net to get a copy of this message
how are you threading? - php does not support user side threads at present.. these methods are really to protect 2 threads from accessing a gtk widget at the same time, but since currently php does not have user side threads they are a bit spare.... regards alan Danny Cardonne wrote:
Hi, i'm trying to do some multithread and i fail at it! i try: for ($x=0;$x<2;$x++) { gdk::threads_enter(); my_multithread_function(); gdk::threads_leave(); } but that don't seems to work my function is execute once and take the main thread! (everything else freeze and wait for it to finish) any help? thanks Danny


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