Quantcast
Channel: Kommentare zu: Parallel processing in PHP
Viewing all articles
Browse latest Browse all 38

Von: Jason

$
0
0

The problem with using & to fork processes is the child processes are totally dependent on the parent process… meaning that if the parent processes exits… so do the child processes. This isn’t really multithreading if you ask me.

One solution i’ve used is to use the “at” command

I agree the pcntl_fork option kind of sucks for php and the curl example is almost not worth mentioning.


Viewing all articles
Browse latest Browse all 38