From owner-freebsd-standards@FreeBSD.ORG Wed Jun 18 11:38:29 2003 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DFE337B401 for ; Wed, 18 Jun 2003 11:38:29 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE34C43FAF for ; Wed, 18 Jun 2003 11:38:28 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id h5IIcRjp042709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Jun 2003 14:38:28 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id h5IIcRQp042706; Wed, 18 Jun 2003 14:38:27 -0400 (EDT) (envelope-from wollman) Date: Wed, 18 Jun 2003 14:38:27 -0400 (EDT) From: Garrett Wollman Message-Id: <200306181838.h5IIcRQp042706@khavrinen.lcs.mit.edu> To: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" In-Reply-To: <20030618062913.65840.qmail@web13408.mail.yahoo.com> References: <20030618062913.65840.qmail@web13408.mail.yahoo.com> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-standards@freebsd.org Subject: sigpause not POSIX compliant? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 18:38:29 -0000 < said: > sigpause appears as "obsoleted by sigsuspend" on our manpages > but it does apear on the UNIX API list: > http://www.unix-systems.org/version3/apis/t_8.html It actually is an obsolete interface, it's just not marked as such. sigsuspend() was introduced with the POSIX signal model and is a superior interface. Unfortunately, the merger between POSIX and SUS resulted in some of the old (and in some cases broken) SUS interfaces being introduced into POSIX for the first time (having been rightly rejected by SSWG in previous rounds). Our sigpause() does something completely different (hardly unsurprising), and expects an old 4.2-style signal mask rather than a single signal number. -GAWollman