From owner-freebsd-hackers Wed May 15 1:40: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 53A0337B407 for ; Wed, 15 May 2002 01:39:57 -0700 (PDT) Received: from pool0069.cvx21-bradley.dialup.earthlink.net ([209.179.192.69] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 177uK7-0005G0-00; Wed, 15 May 2002 01:39:52 -0700 Message-ID: <3CE21EB9.E77696F4@mindspring.com> Date: Wed, 15 May 2002 01:39:21 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Eugene Panchenko Cc: hackers@freebsd.org Subject: Re: SIGPOLL References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene Panchenko wrote: > SysV defines SIGPOLL, as well as Linux, Solaris, and (IIRC) Irix. > However, it is NOT defined in any of *BSD. In Linux it is > simple "#define SIGPOLL SIGIO". Some apps need it, thought. What are > the general policy for this: keep as *BSD and patch every SIGPOLL-app > accordingly, or modify sys/signal.h ? make -DSIGPOLL=SIGIO ? Personally, I'd prefer that the code be properly ported to BSD, but that's just me. PS: Apps that rely on SIGPOLL are usually inherently broken, since programmers who depend on SIGPOLL generally expect it to be an even, rather than a persistant condition, and as we all know, signals are persistant conditions, not events. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message