MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / _restart

Method _restart

monai/data/dataset.py:1147–1154  ·  view source on GitHub ↗

Restart background thread if killed for some reason.

(self)

Source from the content-addressed store, hash-verified

1145 self._restart()
1146
1147 def _restart(self):
1148 """
1149 Restart background thread if killed for some reason.
1150
1151 """
1152 self._round = 1
1153 self._replace_mgr = threading.Thread(target=self.manage_replacement, daemon=True)
1154 self._replace_mgr.start()
1155
1156 def _try_update_cache(self):
1157 """

Callers 1

startMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected