class_docstr: Base class for file locks.
      
class_docstr_tok: ["Base","class","for","file","locks","."]
docstr: Acquire the lock. Returns True if the lock was acquired.
  
  :param blocking: if True, call blocks until the lock is acquired.
      This may not be available on all platforms. On Windows, this is
      actually just a delay of 10 seconds, rechecking every second.
docstr_tok: ["Acquire","the","lock",".","Returns","True","if","the","lock","was","acquired",".",":","param","blocking",":","if","True",",","call","blocks","until","the","lock","is","acquired",".","This","may","not","be","available","on","all","platforms",".","On","Windows",",","this","is","actually","just","a","delay","of","10","seconds",",","rechecking","every","second","."]
code: def acquire(self, blocking=False):
      """Acquire the lock. Returns True if the lock was acquired.
  
      :param blocking: if True, call blocks until the lock is acquired.
          This may not be available on all platforms. On Windows, this is
          actually just a delay of 10 seconds, rechecking every second.
      """
      pass
  
file_path: whoosh/src/whoosh/util/filelock.py
imports: import errno
  import os
  import sys
  import time
label_desc: Use image node_id 3 for calling the LockBase obj's underlying member method code with example usage: obj.acquire(blocking) without return types