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

Method stop

monai/data/thread_buffer.py:60–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 break
59
60 def stop(self):
61 self.is_running = False # signal the thread to exit
62
63 if self.gen_thread is not None:
64 self.gen_thread.join()
65
66 self.gen_thread = None
67
68 def __iter__(self):
69 self.is_running = True

Callers 1

__iter__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected