« Previous | Next » 

Revision f066e7fb

IDf066e7fbe0a2562ab80809a55e77e1c76b35c96a
Parent 952cf6e2
Child 61660332

Added by Petr Pudlak about 10 years ago

Add a function for determining if a client holds a lock

This convenience function examines 'listLocks' for a particular owner
and checks, if it holds a given lock at a given ownership level (or
higher). Therefore checking for a shared locks returns 'True' if the
owner holds a shared or exclusive lock.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences