Re: [PATCH] OsdSynch.c modernization

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Wed, 19 Sep 2007 12:28:58 -0400
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
Received on Wed Sep 19 2007 - 14:29:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC