From owner-freebsd-hackers Tue Apr 14 15:54:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08888 for freebsd-hackers-outgoing; Tue, 14 Apr 1998 15:54:11 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from jraynard.demon.co.uk (jraynard.demon.co.uk [158.152.42.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA08807 for ; Tue, 14 Apr 1998 22:53:56 GMT (envelope-from fhackers@jraynard.demon.co.uk) Received: (from fhackers@localhost) by jraynard.demon.co.uk (8.8.8/8.8.8) id VAA01357; Tue, 14 Apr 1998 21:17:36 +0100 (BST) (envelope-from fhackers) Message-ID: <19980414211736.36945@jraynard.demon.co.uk> Date: Tue, 14 Apr 1998 21:17:36 +0100 From: James Raynard To: joelh@gnu.org Cc: rotel@indigo.ie, freebsd-hackers@FreeBSD.ORG Subject: Re: PR kern/1144 References: <199804131247.NAA01565@indigo.ie> <19980413160603.35279@jraynard.demon.co.uk> <199804140344.WAA08670@detlev.UUCP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199804140344.WAA08670@detlev.UUCP>; from Joel Ray Holveck on Mon, Apr 13, 1998 at 10:44:53PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> These functions are currently defined as macro's, I don't see any > >> nice, fast, MT-safe way that only evaluates the signal number > >> argument once that adds the checking that POSIX requires while > >> keeping them as macros. > > I very much doubt that one exists. > > I forget, what's our position on using gcc's extentions? It's got > some very nice macro features that seem like they could work. In his reply to my original PR, bde posted a macro that did what you suggest for integer arguments (is this not in the PR database?). He also pointed out that macros that expect integer arguments are not very good at handling non-integer arguments :-) James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message