Re: [PHP-DEV] Interesting sleep() side-effect From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/27/99

> setitimer(ITIMER_PROF, ...) measures CPU time, not real time.

Hrm.. True, it isn't a real-time timer. I forgot about that. It
decrements both when you are in user and in kernel space though. I guess
a sleep() call is neither.

That does explain it nicely. What we really need are multiple real-time
timers. We can't use ITIMER_REAL because SIGALRM is used by Apache.

-Rasmus

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>