tony2001                                 Wed, 16 Dec 2009 09:47:35 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292189

Log:
re-initialize libevent in order to reopen epoll fd

Changed paths:
    U   php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_children.c

Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_children.c
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_children.c        
2009-12-16 09:46:41 UTC (rev 292188)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_children.c        
2009-12-16 09:47:35 UTC (rev 292189)
@@ -373,6 +373,7 @@
                switch (pid) {

                        case 0 :
+                               event_init(); /* reopen epoll descriptor */
                                fpm_child_resources_use(child);
                                fpm_globals.is_child = 1;
                                if (in_event_loop) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to