Home >Backend Development >PHP Tutorial > php并发抓图如何知道有没抓完呢

php并发抓图如何知道有没抓完呢

WBOY
WBOYOriginal
2016-06-13 12:45:28895browse

php并发抓图怎么知道有没抓完呢
我有个程序,将图片抓回来;然后打包成zip。
当前用的是单线程,由于实在太慢。所以想用多线程并发抓。
但这样做的话,我不知道什么时候可以打包zip。
大侠们给点建议吧 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn