¡@

Home 

php Programming Glossary: mytask

pcntl runs the same code several times, assistance required

http://stackoverflow.com/questions/16383803/pcntl-runs-the-same-code-several-times-assistance-required

to execute anything proccesses array foreach this tasks as myTask pid pcntl_fork if pid proccesses pid else if pid 1 die 'FORK.. pid else if pid 1 die 'FORK FAILED STATUS 1' else if isset myTask 'recipient_model' this currentModel myTask 'recipient_model'.. else if isset myTask 'recipient_model' this currentModel myTask 'recipient_model' lang myTask 'lang' classPath self modelsDir..