def __init__ (self, configuration): Utility.__init__(self) Debug.__init__(self) # Used for private and pointer variables self.current_threads = [] # Variable type lists self.shared = [] self.private = [] self.pointers = [] self.ports = [] self.variables = [self.shared, self.private, self.pointers, self.ports] self.configuration = configuration # Location Zero is a special case always equal to zero. # It must exist before any other shared variable. self.shared.append(Shared_Variable(label = None, address = 0, value = 0, memory = "A")) self.shared.append(Shared_Variable(label = None, address = 0, value = 0, memory = "B"))
def __init__ (self, data, code, configuration): Utility.__init__(self) Debug.__init__(self) self.data = data self.code = code self.configuration = configuration
def __init__(self, data, code, configuration): Utility.__init__(self) Debug.__init__(self) self.data = data self.code = code self.configuration = configuration