Good Please understand the question
PHP, in 10 parallel threads, I perform certain actions. 10, because hosting at the same time no longer holds. Eats, but some of the scripts end up working earlier, some later. And there are still problems, and I launch the second ten, after all of the top ten have been worked out. What is not optimal
The question, as usual is simple. Can anyone explain, or scare the code, or a link, how best to run several scripts in PHP, with parallel execution, so that when you work on one of the other from the queue?