note 75399 added to function.usleep

From: Date: Sun, 27 May 2007 21:19:36 +0000
Subject: note 75399 added to function.usleep
Groups: php.notes 
Request: Send a blank email to php-notes+get-126971@lists.php.net to get a copy of this message
WARNING!! the snippet below by 'Marius (mm at co-operation dot de)' is NOT a usleep and it will keep the CPU at 100% running. why people keep posting that crap is a complete mystery for me. the idea of sleep and usleep is that by letting the cpu run a few idle cycles so the other programs can have some cycles run of their own. what results in better response times and lower overall system-load. so if you have to wait for something, go to sleep for a few seconds instead of occupying the cpu while doing absolute nothing but waitting. ---- Server IP: 83.137.20.120 Probable Submitter: 62.216.10.14 ---- Manual Page -- http://www.php.net/manual/en/function.usleep.php Edit -- https://master.php.net/note/edit/75399 Del: integrated -- https://master.php.net/note/delete/75399/integrated Del: useless -- https://master.php.net/note/delete/75399/useless Del: bad code -- https://master.php.net/note/delete/75399/bad+code Del: spam -- https://master.php.net/note/delete/75399/spam Del: non-english -- https://master.php.net/note/delete/75399/non-english Del: in docs -- https://master.php.net/note/delete/75399/in+docs Del: other reasons-- https://master.php.net/note/delete/75399 Reject -- https://master.php.net/note/reject/75399 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126971) next »