multithread
| From: | Danny Cardonne | Date: | Mon, 08 Jul 2002 19:36:46 +0000 |
| Subject: | multithread | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2227@lists.php.net to get a copy of this message | ||
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