Subject: Re: semaphore
To: Simon J. Gerraty <sjg@crufty.net>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 03/20/2002 22:42:30
On Wed, Mar 20, 2002 at 10:35:59PM -0800, Simon J. Gerraty wrote:
> I've implemented kernel semaphors - but never committed them.
> I was using them to help coordinate sparc-MP, but the real problem
> lay elsewhere and simpler coordination methods have since been
> used for the purpose. So kern_sem.c is in my tree, I can commit it
> if someone has a need - supports sleeping and spinning versions of
> the wait operations as well as taking/releasing multiple "counts" at
> the same time.
Can you send it to me again? I could plop it onto the "newlock" branch.
I don't recall, but does yours use the same API as Solaris?
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>