From owner-cvs-src@FreeBSD.ORG Thu Nov 3 04:49:17 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5189616A41F; Thu, 3 Nov 2005 04:49:17 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2141243D46; Thu, 3 Nov 2005 04:49:17 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jA34nHJk049628; Thu, 3 Nov 2005 04:49:17 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jA34nHBD049627; Thu, 3 Nov 2005 04:49:17 GMT (envelope-from davidxu) Message-Id: <200511030449.jA34nHBD049627@repoman.freebsd.org> From: David Xu Date: Thu, 3 Nov 2005 04:49:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_exec.c kern_kse.c kern_sig.c kern_thr.c kern_time.c src/sys/sys signalvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 04:49:17 -0000 davidxu 2005-11-03 04:49:16 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c kern_kse.c kern_sig.c kern_thr.c kern_time.c sys/sys signalvar.h Log: Cleanup some signal interfaces. Now the tdsignal function accepts both proc pointer and thread pointer, if thread pointer is NULL, tdsignal automatically finds a thread, otherwise it sends signal to given thread. Add utility function psignal_event to send a realtime sigevent to a process according to the delivery requirement specified in struct sigevent. Revision Changes Path 1.284 +1 -1 src/sys/kern/kern_exec.c 1.220 +1 -1 src/sys/kern/kern_kse.c 1.310 +50 -45 src/sys/kern/kern_sig.c 1.39 +1 -1 src/sys/kern/kern_thr.c 1.122 +11 -28 src/sys/kern/kern_time.c 1.73 +3 -10 src/sys/sys/signalvar.h