code: def __init__(self, path):
      super(_NixFileLock, self).__init__(path)
      from fcntl import flock, LOCK_EX, LOCK_UN, LOCK_NB
  
      self._locker = lambda lock, blocking: flock(
          lock, LOCK_EX if blocking else LOCK_EX | LOCK_NB
      )
      self._unlocker = lambda lock: flock(lock, LOCK_UN)
      self._lock = open(self.path, "a")
      set_close_on_exec(self._lock)
  
imports: import errno
  import logging
  import os
  import sys
  import library.python.windows
label_desc: Use image node_id 1 to create a new _NixFileLock object from inherited base classes: AbstractFileLock with example: obj = _NixFileLock(path)