Date: 01/27/99
- Next message: mosttoys <email protected>: "[PHP-DEV] Bug #1098:"
- Previous message: Tom May: "Re: [PHP-DEV] Interesting sleep() side-effect"
- In reply to: Tom May: "Re: [PHP-DEV] Interesting sleep() side-effect"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Interesting sleep() side-effect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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>
- Next message: mosttoys <email protected>: "[PHP-DEV] Bug #1098:"
- Previous message: Tom May: "Re: [PHP-DEV] Interesting sleep() side-effect"
- In reply to: Tom May: "Re: [PHP-DEV] Interesting sleep() side-effect"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Interesting sleep() side-effect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

