Advertisement
kadytoast

queuemanager

Aug 23rd, 2021 (edited)
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. import multiprocessing as mp
  2.  
  3.  
  4. class QueueManager():
  5.     def __init__(self):
  6.        
  7.         """
  8.        self.procdict = {
  9.            "macid": {"type": peritype, "inqueue": inqueue, "class": periclass, "process": periproc}
  10.        }
  11.        """
  12.  
  13.         self.genqueue = mp.JoinableQueue()
  14.         self.procdict = {}
  15.         self.stop = False
  16.    
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement