Date: 02/26/01
- Next message: Marten Gustafsson: "Re: [PHP-DEV] ctype function (re?)naming"
- Previous message: Stanislav Malyshev: "[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules"
- Maybe reply: Sam Liddicott: "RE: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I notice that usleep and sleep both clash on solaris with
Max-execution-time.
1) I notice various modules using sleep:
db, hyperwave, mysql, oci8, satellite
which seems to break max execution time.
2) Could we not use:
#include <unistd.h>
#define sleep (n) \
{ struct timeval tv; \
tv.tv_sec=n; \
tv.tv_usec=0; \
select(0,NULL,NULL,NULL,&tv); \
}
as well as being more accurate it would not break max-execution-time.
And while we are at it define php_msleep for milliseconds?
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Marten Gustafsson: "Re: [PHP-DEV] ctype function (re?)naming"
- Previous message: Stanislav Malyshev: "[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules"
- Maybe reply: Sam Liddicott: "RE: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

