On 11/1/07, Richard Klein <[EMAIL PROTECTED]> wrote: > In implementing xLock in a VFS, do we need to worry > about lock counts, i.e. nested locking?
No. You don't need to worry about that. > In other words, if a process asks for, say, a SHARED > lock, and he already has one, should we increment a > SHARED lock count? Or is it okay to just return, > i.e. to treat the request as a no-op? Locks are on a per-handle basis. If a handle already has an equal or greater lock to that requested, treat the request as a no-op. Dan. ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

