Re: Interesting sleep() side-effect

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Interesting sleep() side-effect
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3742@lists.php.net to get a copy of this message
> 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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3742) next »