From owner-cvs-all Thu Oct 25 23:32:26 2001 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 C70C737B403; Thu, 25 Oct 2001 23:32:21 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9Q6WLn96425; Thu, 25 Oct 2001 23:32:21 -0700 (PDT) (envelope-from jhb) Message-Id: <200110260632.f9Q6WLn96425@freefall.freebsd.org> From: John Baldwin Date: Thu, 25 Oct 2001 23:32:21 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/aac aac.c src/sys/dev/acpica/Osd OsdSchedule.c src/sys/dev/amr amr.c src/sys/dev/mly mly.c src/sys/kern subr_taskqueue.c src/sys/sys taskqueue.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2001/10/25 23:32:21 PDT Modified files: sys/dev/aac aac.c sys/dev/acpica/Osd OsdSchedule.c sys/dev/amr amr.c sys/dev/mly mly.c sys/kern subr_taskqueue.c sys/sys taskqueue.h Log: Add locking to taskqueues. There is one mutex per task, one mutex per queue, and a mutex to protect the global list of taskqueues. The only visible change is that a TASK_DESTROY() macro has been added to mirror the TASK_INIT() macro to destroy a task before it is free'd. Submitted by: Andrew Reiter Revision Changes Path 1.28 +4 -1 src/sys/dev/aac/aac.c 1.13 +1 -0 src/sys/dev/acpica/Osd/OsdSchedule.c 1.27 +5 -1 src/sys/dev/amr/amr.c 1.12 +4 -0 src/sys/dev/mly/mly.c 1.9 +81 -35 src/sys/kern/subr_taskqueue.c 1.4 +19 -11 src/sys/sys/taskqueue.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message