Home
last modified time | relevance | path

Searched refs:lock_path (Results 1 – 3 of 3) sorted by relevance

/edtt-latest/src/components/
Dbsim_lib.py89 def lock_file_fill(lock_path, pid): argument
90 with open(lock_path, "w") as file:
97 lock_path = "%s/%s.d%i.lock" % (com_path, "2G4", device_nbr)
99 if not os.access(lock_path, os.F_OK):
101 lock_file_fill(lock_path, my_pid)
102 return lock_path
108 with open(lock_path, "r") as file:
139 lock_file_fill(lock_path, my_pid)
141 return lock_path
Dbsim_device.py29 lock_path = "" variable in BSimDevice
65 self.lock_path = test_and_create_lock_file(self.com_path, self.device_nbr, self.Trace)
87 if self.lock_path:
89 os.remove(self.lock_path)
92 self.lock_path = ""
Dedttt_bsim.py36 lock_path = "" variable in EDTTT
80 … self.lock_path = test_and_create_lock_file(self.com_path, self.EDTT_tool_dev_nbr, self.Trace)
157 if self.lock_path:
159 os.remove(self.lock_path)
162 self.lock_path = ""