From owner-cvs-all@FreeBSD.ORG Mon Mar 31 15:08:21 2003 Return-Path: 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 2380F37B401; Mon, 31 Mar 2003 15:08:21 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E169C43F3F; Mon, 31 Mar 2003 15:08:19 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h2VN8Jg97695; Mon, 31 Mar 2003 18:08:19 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 31 Mar 2003 18:08:19 -0500 (EST) From: Jeff Roberson To: Jeff Roberson In-Reply-To: <200303312257.h2VMv1fc030073@repoman.freebsd.org> Message-ID: <20030331180809.Q64602-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_sig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 23:08:24 -0000 This was a force commit to get a more verbose comment on recent changes. On Mon, 31 Mar 2003, Jeff Roberson wrote: > jeff 2003/03/31 14:57:01 PST > > FreeBSD src repository > > Modified files: > sys/kern kern_sig.c > Log: > - The siglist in the proc holds signals that were blocked by all threads > when they were delivered. In signotify() check to see if we have > unblocked any of those signals and post them to the thread. > - Use td_sigmask instead of p_sigmask in all cases. > - In sigpending return both signals pending on the thread and proc. > - Define a function, sigtd(), that finds the appropriate thread to deliver > the signal to if psignal() has been called instead of tdsignal(). > - Define a function, tdsignal(), that delivers a signal to a specific thread > or if that thread has the signal blocked it may deliver it to the process > where it will wait for a thread to unblock it. > - Since we are delivering signals to a specific thread we do not need to > abort the sleep of all threads. > - Rename the old tdsignal() to tdsigwakeup(). > - Save and restore the old signal mask to and from the thread. > > Revision Changes Path > 1.220 +0 -0 src/sys/kern/kern_sig.c >