[PATCH] OsdSynch.c modernization
Jung-uk Kim
jkim at FreeBSD.org
Wed Sep 19 09:29:05 PDT 2007
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
More information about the freebsd-acpi
mailing list