From owner-cvs-all Tue Nov 14 10:23: 4 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E02B537B4CF; Tue, 14 Nov 2000 10:23:01 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA89218; Tue, 14 Nov 2000 10:23:01 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-Id: <200011141823.KAA89218@freefall.freebsd.org> From: John Baldwin Date: Tue, 14 Nov 2000 10:23:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys eventhandler.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/11/14 10:23:00 PST Modified files: sys/sys eventhandler.h Log: Only hold the mutex for an eventhandler list while the list is being accessed. Specifically, don't hold the lock while calling event handlers as a handler may tsleep() while holding the mutex. Found by: witness Revision Changes Path 1.14 +6 -4 src/sys/sys/eventhandler.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message