class_docstr: Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems.
class_docstr_tok: ["Uses","the",":","func",":","`","fcntl.flock","`","to","hard","lock","the","lock","file","on","unix","systems","."]
code: def _release(self):
      # Do not remove the lockfile:
      #   https://github.com/tox-dev/py-filelock/issues/31
      #   https://stackoverflow.com/questions/17708885/flock-removing-locked-file-without-race-condition
      fd = self._lock_file_fd
      self._lock_file_fd = None
      fcntl.flock(fd, fcntl.LOCK_UN)
      os.close(fd)
  
imports: import os
  from ._api import BaseFileLock
label_desc: Use image node_id 2 for calling the UnixFileLock obj's underlying member method code with example usage: obj._release() without return types