Subject: Re: Kernel semaphore API
To: Andrew Doran <ad@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/30/2007 13:03:53
On Mar 30, 2007, at 12:17 PM, Andrew Doran wrote:

>
> I had a look at the Solaris API and I don't like it because I've no
> interest in remembering which of sema_p() and sema_v() do what. :)
> It looks like there is a fairly direct mapping between the Solaris
> ops and these, using #define to provide compatibility. The type has
> the same name, ksema_t.

Ok, fair enough.  I'd rather we used __strong_alias(), tho, instead  
of a #define.

Thanks.

-- thorpej