HPS-MC
KillProcessQueue Class Reference

Kill processes in the multiprocessing queue if the jobs are canceled. More...

Public Member Functions

def __init__ (self, mp_queue)
 
def __enter__ (self)
 
def __exit__ (self, type, val, tb)
 Kill processes on exit. More...
 

Public Attributes

 mp_queue
 

Detailed Description

Kill processes in the multiprocessing queue if the jobs are canceled.

Definition at line 775 of file batch.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  mp_queue 
)

Definition at line 780 of file batch.py.

Member Function Documentation

◆ __enter__()

def __enter__ (   self)

Definition at line 783 of file batch.py.

◆ __exit__()

def __exit__ (   self,
  type,
  val,
  tb 
)

Kill processes on exit.

Definition at line 786 of file batch.py.

Member Data Documentation

◆ mp_queue

mp_queue

Definition at line 781 of file batch.py.


The documentation for this class was generated from the following file: