From owner-cvs-all Tue Oct 1 13:10:22 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4FDF37B401; Tue, 1 Oct 2002 13:10:21 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B2743E4A; Tue, 1 Oct 2002 13:10:21 -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.3/8.12.5) with ESMTP id g91KAJVo052947 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 1 Oct 2002 16:10:20 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id g91KAJ3B052944; Tue, 1 Oct 2002 16:10:19 -0400 (EDT) (envelope-from wollman) Date: Tue, 1 Oct 2002 16:10:19 -0400 (EDT) From: Garrett Wollman Message-Id: <200210012010.g91KAJ3B052944@khavrinen.lcs.mit.edu> To: Robert Watson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_synch.c In-Reply-To: References: <200210011410.g91EA9EZ026286@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > Yeah, the notion of signals and threads is still a bit cloudy in my mind. POSIX makes this quite clear: # At the time of generation, a determination shall be made whether the # signal has been generated for the process or for a specific thread # within the process. Signals which are generated by some action # attributable to a particular thread, such as a hardware fault, shall # be generated for the thread that caused the signal to be # generated. Signals that are generated in association with a process # ID or process group ID or an asynchronous event, such as terminal # activity, shall be generated for the process. See the System Interfaces volume of 1003.1-2001, section 2.4, for a complete discussion of signal delivery. (Note that the POSIX threading model is not the only one possible, and we may wish to provide for more general signal delivery.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message