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 Jun 1 01:11:07 2020 by HappyDoc version 2.1