From owner-cvs-all@FreeBSD.ORG Thu Jun 19 20:36:46 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 741AB37B401; Thu, 19 Jun 2003 20:36:46 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F79D43F75; Thu, 19 Jun 2003 20:36:46 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5K3aj0U033528; Thu, 19 Jun 2003 20:36:45 -0700 (PDT) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5K3aj2I033527; Thu, 19 Jun 2003 20:36:45 -0700 (PDT) Message-Id: <200306200336.h5K3aj2I033527@repoman.freebsd.org> From: David Xu Date: Thu, 19 Jun 2003 20:36:45 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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: Fri, 20 Jun 2003 03:36:46 -0000 davidxu 2003/06/19 20:36:45 PDT FreeBSD src repository Modified files: sys/kern kern_sig.c Log: When a STOP signal is being sent to a process, it is possible all threads in the process have already masked the signal, so job control is delayed. But later a thread unmasking the STOP signal should enable job control, so in issignal(), scanning all threads in process to see if we can direct suspend some of them, not just suspend current thread. Revision Changes Path 1.245 +16 -2 src/sys/kern/kern_sig.c