Re: [RFC] unify semaphore implementations

Paul Mackerras
2005-04-30T01:49:25Z

Benjamin LaHaise writes:

> There are at least two users who need asynchronous semaphore/mutex
> operations: aio_write (which needs to acquire i_sem), and nfs.

What do you mean by asynchronous semaphore/mutex operations? Are you
talking about a down operation that will acquire the semaphore if it
is free, but if not, arrange for a callback and return immediately, or
something?

Paul.