开发者

How to make PHP application working multi-threaded? [duplicate]

开发者 https://www.devze.com 2023-03-04 15:44 出处:网络
This question already has answers here: 开发者_运维问答 Closed 11 years ago. Possible Duplicate: Multithreading/Parallel Processing in PHP
This question already has answers here: 开发者_运维问答 Closed 11 years ago.

Possible Duplicate:

Multithreading/Parallel Processing in PHP

I need to make application which work 10 simultaneously like multi-threading .


If you application is running on the CLI, you can use pcntrl_fork:

http://www.php.net/manual/en/function.pcntl-fork.php

0

精彩评论

暂无评论...
验证码 换一张
取 消