Table of Contents

Class: RLock ./src/peak/util/threads.py

Re-entrant lock; can be locked multiple times by same thread

Base Classes   
object
Methods   
__init__
_doAcquire
attempt
locked
obtain
release
  __init__ 
__init__ ( self )

  _doAcquire 
_doAcquire ( self,  blocking )

  attempt 
attempt ( self )

Nonblocking, nestable attempt to acquire; returns success flag

  locked 
locked ( self )

Is this lock owned by the current thread?

  obtain 
obtain ( self )

Blocking, nestable wait to acquire; success unless error

  release 
release ( self )

Release one level of lock nesting; must be locked() when called

Exceptions   
RuntimeError, "release() of un-acquire()d lock"

Table of Contents

This document was automatically generated on Mon Apr 22 01:11:04 2024 by HappyDoc version 2.1