From owner-freebsd-net@FreeBSD.ORG Fri Oct 22 18:01:31 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3E1516A4FE; Fri, 22 Oct 2004 18:01:31 +0000 (GMT) Received: from segfault-outgoing-helo.monkeys.com (segfault.monkeys.com [66.60.159.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B6EA43D2F; Fri, 22 Oct 2004 18:01:31 +0000 (GMT) (envelope-from rfg@monkeys.com) Received: from segfault-nmh-helo.monkeys.com (localhost [127.0.0.1]) by segfault.monkeys.com (Postfix) with ESMTP id F244854AB; Fri, 22 Oct 2004 11:01:30 -0700 (PDT) To: John-Mark Gurney In-reply-to: Your message of Fri, 22 Oct 2004 10:27:59 -0700. <20041022172759.GX22681@funkthat.com> Date: Fri, 22 Oct 2004 11:01:30 -0700 Message-ID: <2171.1098468090@monkeys.com> From: "Ronald F. Guilmette" cc: freebsd-net@freebsd.org cc: Andre Oppermann Subject: Re: aio_connect ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 18:01:32 -0000 In message <20041022172759.GX22681@funkthat.com>, you wrote: >Oh, another thing is that there isn't yet a verbose signal delivery >mechanism.. There are only two signals that are for user's use... ^defined in relevant standards Signal numbers are typically represented as ints. Is there anything in the kernel that prevents me from, say, calling kill(2) with a second argument of, say, 0xdeadbeef, in other words any old random int value that I might care to use? If not, then there are effectively 4 billion+ different signal numbers that could be used by a programmer. Such usage might not be fully standard-conformant, but it might work OK, nontheless. (In fact, one might even be able to use _most_ typical pointer values as if they were signal numbers, simply by casting them to ints before use.)