]> granicus.if.org Git - php/commitdiff
This is no longer relevant...
authorZeev Suraski <zeev@php.net>
Wed, 30 Aug 2000 18:06:17 +0000 (18:06 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 30 Aug 2000 18:06:17 +0000 (18:06 +0000)
main/main.c

index 38f0d8c841b2eaeb210745296e785a211c9ed554..735d6c1b3c35e93e5d5b8875355fd79454e9873d 100644 (file)
@@ -473,16 +473,6 @@ PHP_FUNCTION(set_time_limit)
        }
 
        convert_to_long_ex(new_timeout);
-       /* FIXME ** This is BAD...in a threaded situation, any user
-          can set the timeout for php on a server wide basis. 
-          INI variables should not be reset via a user script
-
-          Fix what?  At least on Unix, timers like these are
-          per-thread timers.  Well, with a little work they will
-          be.  If we use a bound thread and proper masking it
-          should work fine.  Is this FIXME a WIN32 problem?  Is
-          there no way to do per-thread timers on WIN32?
-        */
        zend_unset_timeout();
        zend_set_timeout(Z_LVAL_PP(new_timeout));
 }