From owner-freebsd-arch@FreeBSD.ORG Sat Mar 24 20:00:31 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EFEB1065687; Sat, 24 Mar 2012 20:00:31 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5F40A8FC12; Sat, 24 Mar 2012 20:00:25 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so2877975wgb.31 for ; Sat, 24 Mar 2012 13:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=KSKpqJz0XY1g9K4duKm7F2v8b6kNIapZ8bFHmY9oMO0=; b=ujxbeebWoRT4rpj1FvFI4KivXndTQEdNfKpItOc5UI2bm/m8lZhUQ1CwMx6x06fM7j ukGCBc8Zl5WB4d5X7zriaIfEFMNY3A5/NCHehry5wG0FJBidrxy85gjU8UjbY7uZFLkv IcgZzrvA9V3cjkakOguCWkjKsNi7KWnwKcBverHLPAzBLbOU0m1JaOcfLJ0aWbg7Wb1H iwF8bhrS3r8VJCdkwIpMLcQTjAvqCmgNEn0wYRB61ccT8y03cR7r3Sivi9+e9HVjaR3Q 8gLEnrdm2jVEVa8BUNnMXSh8kIY17ZkaqOZpfnynfvZnuAfzBtxYB1TamZsokGGjFCc4 4skQ== Received: by 10.216.139.79 with SMTP id b57mr8920259wej.37.1332619218330; Sat, 24 Mar 2012 13:00:18 -0700 (PDT) Received: from thorin (249.Red-81-33-111.dynamicIP.rima-tde.net. [81.33.111.249]) by mx.google.com with ESMTPS id fl2sm41933904wib.4.2012.03.24.13.00.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Mar 2012 13:00:17 -0700 (PDT) Sender: Robert Millan Received: from rmh by thorin with local (Exim 4.72) (envelope-from ) id 1SBX8I-0000MX-Hq; Sat, 24 Mar 2012 21:00:14 +0100 Date: Sat, 24 Mar 2012 21:00:14 +0100 From: Robert Millan To: freebsd-arch@freebsd.org Message-ID: <20120324200014.GA91966@thorin> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: davidxu@freebsd.org Subject: [PATCH] add SIGSERVICE to sys/signal.h X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2012 20:00:31 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, As SIGSERVICE is de-facto reserved by librt, shouldn't it be defined (or at least listed as such) in , just like SIGTHR/SIGLWP ? See attached patch. -- Robert Millan --MGYHOYXEY6WxJCY8 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="sigservice.diff" Index: lib/librt/sigev_thread.h =================================================================== --- lib/librt/sigev_thread.h (revision 233095) +++ lib/librt/sigev_thread.h (working copy) @@ -67,8 +67,6 @@ #define SNF_REMOVED 0x02 #define SNF_SYNC 0x04 -#define SIGSERVICE (SIGTHR+1) - int __sigev_check_init(); struct sigev_node *__sigev_alloc(int, const struct sigevent *, struct sigev_node *, int); Index: sys/sys/signal.h =================================================================== --- sys/sys/signal.h (revision 233095) +++ sys/sys/signal.h (working copy) @@ -111,6 +111,7 @@ #if __BSD_VISIBLE #define SIGTHR 32 /* reserved by thread library. */ #define SIGLWP SIGTHR +#define SIGSERVICE 33 /* reserved by real-time library. */ #endif #define SIGRTMIN 65 --MGYHOYXEY6WxJCY8--