HomeSort by relevance Sort by last modified time
    Searched refs:_backing_file_lock (Results 1 - 2 of 2) sorted by null

  /external/autotest/client/common_lib/
base_job.py 131 already_have_lock = self._backing_file_lock is not None
187 self._backing_file_lock = None
193 self._backing_file_lock = open(self._backing_file, 'a')
194 fcntl.flock(self._backing_file_lock, fcntl.LOCK_EX)
199 if self._backing_file_lock:
200 fcntl.flock(self._backing_file_lock, fcntl.LOCK_UN)
201 self._backing_file_lock.close()
202 self._backing_file_lock = None
    [all...]
base_job_unittest.py 34 self._backing_file_lock = None
741 ut_self.assertNotEqual(None, self._backing_file_lock)
746 ut_self.assertNotEqual(None, self._backing_file_lock)
    [all...]

Completed in 53 milliseconds