class documentation

Base class containing common code for conditions.

Some of this code is taken from python's threading module.

Method __init__ Constructor for _BaseCondition.
Class Variable __slots__ Undocumented
Instance Variable acquire Undocumented
Instance Variable release Undocumented
Method _base_acquire_restore Undocumented
Method _base_is_owned Check whether lock is owned by current thread.
Method _base_release_save Undocumented
Method _check_owned Raise an exception if the current thread doesn't own the lock.
Instance Variable _acquire_restore Undocumented
Instance Variable _is_owned Undocumented
Instance Variable _lock Undocumented
Instance Variable _release_save Undocumented
def __init__(self, lock):

Constructor for _BaseCondition.

Parameters
lock:threading.Lockcondition base lock
__slots__: list[str] =
acquire =

Undocumented

release =

Undocumented

def _base_acquire_restore(self, _):

Undocumented

def _base_is_owned(self):

Check whether lock is owned by current thread.

def _base_release_save(self):

Undocumented

def _check_owned(self):

Raise an exception if the current thread doesn't own the lock.

_acquire_restore =

Undocumented

_is_owned =

Undocumented

_lock =

Undocumented

_release_save =

Undocumented