Date: Wed, 19 Sep 2007 12:28:58 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: Maxime Henrion <mux@FreeBSD.org> Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [PATCH] OsdSynch.c modernization Message-ID: <200709191229.00966.jkim@FreeBSD.org> In-Reply-To: <20070919150348.GB73569@elvis.mu.org> References: <200709181516.11207.jkim@FreeBSD.org> <20070919150348.GB73569@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 19 September 2007 11:03 am, Maxime Henrion wrote: > Out of curiosity, is there any reason you didn't use the sema(9) > API for semaphores and are instead implementing them in terms of > mutex/condvar? sema(9) can only increment/decrement value by one while AcpiOs*Semaphore() allows any positive units <= maximum units. Internally ACPI-CA does not use units > 1 but I want it to be more closer to the original intention. In fact, Linux OSD code does not support units > 1. ;-) Jung-uk Kim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709191229.00966.jkim>