From owner-cvs-src@FreeBSD.ORG Fri Aug 22 01:16:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F3A91065679; Fri, 22 Aug 2008 01:16:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1B98FC12; Fri, 22 Aug 2008 01:16:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7M1Ggx8055741; Fri, 22 Aug 2008 01:16:42 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7M1GgOm055740; Fri, 22 Aug 2008 01:16:42 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200808220116.m7M1GgOm055740@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 22 Aug 2008 01:16:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern kern_sx.c src/sys/sys sx.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: Fri, 22 Aug 2008 01:16:43 -0000 jhb 2008-08-22 01:16:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_sx.c sys/sys sx.h Log: SVN rev 181977 on 2008-08-22 01:16:16Z by jhb Implement sx_sleep() on 6.x. This is not an MFC as sx_sleep() in 7.0+ is implemented via _sleep() and methods in the lock class and that would be a lot to backport. Instead, sx_sleep() is a new function that is largely a copy of msleep. It has identical semantics to sx_sleep() in 7.0+. Revision Changes Path 1.25.2.10 +118 -0 src/sys/kern/kern_sx.c 1.21.2.8 +2 -3 src/sys/sys/sx.h