def __init__(self): super(MemoryJobBoard, self).__init__() self._event = threading.Event() # Locking to ensure that if there are multiple # users posting to the backing board that we only # have 1 writer modifying it at a time, but we can # have X readers. self._lock = utils.ReaderWriterLock() self._board = [] self._closed = False
def __init__(self, name, wf, fd_id=None): super(MemoryFlowDetail, self).__init__(name, wf, fd_id) self._lock = utils.ReaderWriterLock()
def __init__(self, name, wf_id=None): super(MemoryFlow, self).__init__(name, wf_id) self._lock = utils.ReaderWriterLock() self.flowdetails = {}
def __init__(self, name, lb_id=None): super(MemoryLogBook, self).__init__(name, lb_id) self._lock = utils.ReaderWriterLock()
def __init__(self, name, job_id=None): super(MemoryJob, self).__init__(name, job_id) self._lock = utils.ReaderWriterLock()
def __init__(self, name, task, td_id=None): super(MemoryTaskDetail, self).__init__(name, task, td_id) self._lock = utils.ReaderWriterLock()