Bug #8214 Updated: Request for Signal Handling functions

From: Date: Sun, 10 Feb 2002 04:15:04 +0000
Subject: Bug #8214 Updated: Request for Signal Handling functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20@lists.php.net to get a copy of this message
ID: 8214 Updated by: jimw@php.net Reported By: jmoore@php.net -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: *nix - CGI -PHP Version: 4.0 Latest CVS (12/12/2000) +PHP Version: 4.0 Latest CVS ( New Comment: pcntl does this. Previous Comments: ------------------------------------------------------------------------ [2002-01-06 12:38:00] jan@php.net doesen't pcnt do the job? ------------------------------------------------------------------------ [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.bugs (#20) next »