Table of Contents

Class: ILock ./src/peak/running/interfaces.py
Base Classes   
Interface
Methods   
attempt
locked
obtain
release
  attempt 
attempt ()

try to obtain the lock, return boolean success

  locked 
locked ()

returns True if any thread IN THIS PROCESS has obtained the lock, else False

  obtain 
obtain ()

wait to obtain the lock, returns None

  release 
release ()

release an obtained lock, returns None


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:03 2024 by HappyDoc version 2.1