MCPcopy Create free account
hub / github.com/FareedKhan-dev/ai-long-task / stop

Method stop

core/process_parallel.py:477–485  ·  view source on GitHub ↗

Stop the process pool

(self)

Source from the content-addressed store, hash-verified

475 logger.info(f"Started process pool with {self.num_workers} processes")
476
477 def stop(self) -> None:
478 """Stop the process pool"""
479 self.shutdown_event.set()
480
481 if self.executor:
482 self.executor.shutdown(wait=True)
483 self.executor = None
484
485 logger.info("Stopped process pool")
486
487 def request_shutdown(self) -> None:
488 """Request graceful shutdown"""

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected