From owner-cvs-all@FreeBSD.ORG Fri Sep 3 15:14:15 2004 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 5220916A4CE; Fri, 3 Sep 2004 15:14:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44CAD43D66; Fri, 3 Sep 2004 15:14:15 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i83FEF7P041140; Fri, 3 Sep 2004 15:14:15 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i83FEFCP041139; Fri, 3 Sep 2004 15:14:15 GMT (envelope-from jhb) Message-Id: <200409031514.i83FEFCP041139@repoman.freebsd.org> From: John Baldwin Date: Fri, 3 Sep 2004 15:14:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/kern kern_condvar.c kern_synch.c kern_thread.c subr_sleepqueue.c src/sys/sys proc.h sleepqueue.h 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, 03 Sep 2004 15:14:15 -0000 jhb 2004-09-03 15:14:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern kern_condvar.c kern_synch.c kern_thread.c subr_sleepqueue.c sys/sys proc.h sleepqueue.h Log: MFC: Further refine sleepqueue interface and consolidate duplicated code. This also appears to fix some select/poll races by more sanely handling TDF_SINTR. Approved by: re (scottl) Revision Changes Path 1.50.2.1 +16 -39 src/sys/kern/kern_condvar.c 1.257.2.1 +16 -28 src/sys/kern/kern_synch.c 1.193.2.2 +19 -0 src/sys/kern/kern_thread.c 1.10.2.1 +23 -9 src/sys/kern/subr_sleepqueue.c 1.392.2.4 +1 -0 src/sys/sys/proc.h 1.3.2.1 +4 -1 src/sys/sys/sleepqueue.h