Re: The performance of sleep() and usleep()
| From: | Christian Reiniger | Date: | Sun, 20 May 2001 08:45:54 +0000 |
| Subject: | Re: The performance of sleep() and usleep() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53594@lists.php.net to get a copy of this message | ||
On Saturday 19 May 2001 17:26, BlackLord wrote:
> If i use these functions in my script, what will be the system resource
> usage? I know, thread will be open while the script is running but, i
> believe that they will not use extra system resource, won't they?
sleep () does exactly that - putting the process to sleep for the
specified period. It doesn't use any processing power during that time
and it might even use less memory (if it is swapped out).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God --------- and she was black.