note 79879 deleted from function.curl-multi-init by salathe
| From: | salathe@php.net | Date: | Wed, 20 Jul 2011 13:53:53 +0000 |
| Subject: | note 79879 deleted from function.curl-multi-init by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181719@lists.php.net to get a copy of this message | ||
Note Submitter: php at twobears dot cz
----
It's not good to use plain while cycle like in the example because you are going to consume all
the cpu time just by checking if you are not done. E.g. using usleep(50) in the middle of while
could solve that gracefully...