Bug #8214 Updated: Request for Signal Handling functions

From: Date: Sun, 06 Jan 2002 17:38:00 +0000
Subject: Bug #8214 Updated: Request for Signal Handling functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76066@lists.php.net to get a copy of this message
ID: 8214 Updated by: jan Reported By: jmoore@php.net Status: Open Bug Type: Feature/Change Request Operating System: *nix - CGI PHP Version: 4.0 Latest CVS (12/12/2000) New Comment: doesen't pcnt do the job? Previous Comments: ------------------------------------------------------------------------ [2000-12-12 16:49:52] joey@php.net I would rather see: posix_register_sig_func(char function, mixed signal) And handle both "9" and "KILL" as valid signals. ------------------------------------------------------------------------ [2000-12-12 16:35:41] jmoore@php.net A few additions to the posix module to allow registering functions when certain signals are recieved would be cool. somthing like posix_register_sig_func(char function,int signal); where signal is HUP etc :) would allow some long running systems in CGI mode with a graceous shutdown. James ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8214&edit=1

« previous php.dev (#76066) next »