MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / wait

Method wait

imperative/python/megengine/utils/custom_op_tools.py:613–615  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

611 return False
612
613 def wait(self):
614 while os.path.exists(self.lock_file_path):
615 time.sleep(self.wait_seconds)
616
617 def release(self):
618 if self.fd is not None:

Callers 10

buildFunction · 0.95
runFunction · 0.45
run_modelFunction · 0.45
setMethod · 0.45
getMethod · 0.45
runMethod · 0.45
group_barrierMethod · 0.45
test_io2Function · 0.45
test_attr_outputFunction · 0.45
exitMethod · 0.45

Calls 1

sleepMethod · 0.80

Tested by 2

test_io2Function · 0.36
test_attr_outputFunction · 0.36