|
Posted by Fabio on 08/16/07 20:15
Hi all,
I need to simulate the execution of code on another thread an the only way I
found is to launch a .php file with popen().
with
$process = popen(...);
the execution starts, but in the .php file may be an infinite loop that I
want to break.
There is the possibility to kill the process?
If the loop is not infinite and the script in the .php file ends I have to
call pclose($process) or the process terminate itself?
If there is another way to simulate multithread it is wellcome, but working
on the system, not via http.
Thanks!
Navigation:
[Reply to this message]
|