Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77246 invoked by uid 1010); 24 May 2006 23:59:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77231 invoked from network); 24 May 2006 23:59:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2006 23:59:48 -0000 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:3762] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 45/44-17316-473F4744 for ; Wed, 24 May 2006 19:59:48 -0400 Received: from localhost ([127.0.0.1] helo=peiscg33m) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1Fj2c2-0007KW-00; Wed, 24 May 2006 16:17:58 -0700 Message-ID: <00c001c67f8e$21256420$5c8be5a9@ohr.berkeley.edu> Reply-To: "Sara Golemon" To: "Michael B Allen" Cc: References: <20060524155947.1522f5f0.mba2000@ioplex.com> Date: Wed, 24 May 2006 16:59:44 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: Signals in Extensions From: pollita@php.net ("Sara Golemon") > I have an extension that interfaces with a > library that sets a signal handler for some > common signals. In particular the library > forks processes and does socket writes > so it needs to be able to handle SIGCHLD > and SIGPIPE. It also registers some other > signals for debugging purposes. Can I > anticipate any kinds of problems from this? > Does the Zend engine use any signals in particular? > It's not PHP/Zend you should be afraid of... the interpreter goes a long way towards avoiding the use of signals because it's designed to run on webserver and that webserver may or may not try to use signals in one way or another. If you're using the CGI SAPI you might be safe, other than that.... Best of luck to ya.