From owner-acpi-jp@jp.FreeBSD.org Sun Dec 16 16:32:41 2001
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id fBG7WfM93785;
	Sun, 16 Dec 2001 16:32:41 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id fBG7We693780
	for <acpi-jp@jp.freebsd.org>; Sun, 16 Dec 2001 16:32:41 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (root@localhost [127.0.0.1])
	(authenticated as iwa with CRAM-MD5)
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id fBG7WaP79085
	for <acpi-jp@jp.freebsd.org>; Sun, 16 Dec 2001 16:32:37 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Sun, 16 Dec 2001 16:32:21 +0900 (JST)
Message-Id: <20011216.163221.38718290.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <20011206.140451.71081436.iwasaki@jp.FreeBSD.org>
References: <iwasaki@jp.FreeBSD.org>
	<200112052232.fB5MWTJ03359@mass.dis.org>
	<20011206.140451.71081436.iwasaki@jp.FreeBSD.org>
X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010331
X-Sequence: acpi-jp 1540
Subject: [acpi-jp 1540] Re: Call for testers: Semaphore and Thread
 implementaion 
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: iwasaki@jp.FreeBSD.org

> > > I think having dedicated thread for interpreter and giving chance to
> > > execute tasks for other drivers is not so bad idea.
> > 
> > You could just implement a private task queue for the interpreter. That'd
> > be pretty straightforward.
> 
> Yeah, I think this is what I wanted to change :-)
> but it seemed to me that creating kernel thread is easier than
> private task queue implementation.

OK, I revised the patches.
http://people.freebsd.org/~iwasaki/acpi/acpi-mutex-20011216.diff

The threading is disabled as default unless ACPI_MAX_THREADS is
specified in the new patches.

I'll commit this next weekend.

Thanks

P.S.
new FIVA 20x patches:
http://people.freebsd.org/~iwasaki/acpi/fiva-20011216.diff
