note 28606 added to function.usleep

From: Date: Fri, 17 Jan 2003 22:04:49 +0000
Subject: note 28606 added to function.usleep
Groups: php.notes 
Request: Send a blank email to php-notes+get-42298@lists.php.net to get a copy of this message
Should be noted that functions that loop really fast to create a delay also consume 100% CPU while doing the loop. Try creating a dummy loop that goes 100000 times, watch it choke your machine. If you really need usleep() don't use windows. -- http://www.php.net/manual/en/function.usleep.php http://master.php.net/manage/user-notes.php?action=edit+28606 http://master.php.net/manage/user-notes.php?action=delete+28606 http://master.php.net/manage/user-notes.php?action=reject+28606

« previous php.notes (#42298) next »