Beispiel #1
0
 def __init__(self, opts = {}):
   opts['name'] = 'enough_space_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
Beispiel #2
0
 def __init__(self, opts = {}):
   opts['name'] = 'terminate_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
Beispiel #3
0
 def __init__(self, opts={}):
     opts['name'] = 'user_memory_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
Beispiel #4
0
 def __init__(self, opts = {}):
     opts['name'] = 'line_to_print_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.data_to_print = opts['data'] 
Beispiel #5
0
 def __init__(self, opts = {}):
     opts['name'] = 'input_device_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
Beispiel #6
0
 def __init__(self, opts = {}):
     opts['name'] = 'interrupt_' + str(kernel_data.RID)
     self.process = opts['process']
     Resource.__init__(self, opts)
     self.message = opts['message']
Beispiel #7
0
 def __init__(self, opts={}):
     opts["name"] = "channel1_" + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
Beispiel #8
0
 def __init__(self, opts = {}):
     opts['name'] = 'task_at_hd_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.write_info = opts['write_info']
Beispiel #9
0
 def __init__(self, opts={}):
     opts['name'] = 'terminate_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
Beispiel #10
0
 def __init__(self, opts={}):
     opts['name'] = 'line_to_print_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.data_to_print = opts['data']
Beispiel #11
0
 def __init__(self, opts = {}):
   opts['name'] = 'output_device_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
Beispiel #12
0
 def __init__(self, opts={}):
     opts['name'] = 'tasks_found_' + '_' + str(opts['count']) + str(
         kernel_data.RID)
     Resource.__init__(self, opts)
     self.count = opts['count']
Beispiel #13
0
 def __init__(self, opts = {}):
     opts['name'] = 'task_loaded_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.addresses = opts['addresses']
Beispiel #14
0
 def __init__(self, opts = {}):
   opts['name'] = 'user_memory_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
Beispiel #15
0
 def __init__(self, opts = {}):
   opts['name'] = 'task_completed_' + str(kernel_data.RID) 
   Resource.__init__(self, opts)
Beispiel #16
0
 def __init__(self, opts = {}):
     opts['name'] = 'task_at_input_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.file_path = opts['file_path']
Beispiel #17
0
 def __init__(self, opts = {}):
     opts['name'] = 'task_data_at_sm_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
Beispiel #18
0
 def __init__(self, opts={}):
     opts['name'] = 'task_loaded_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.addresses = opts['addresses']
Beispiel #19
0
 def __init__(self, opts = {}):
     opts['name'] = 'kernel_memory_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
Beispiel #20
0
 def __init__(self, opts={}):
     opts['name'] = 'task_at_input_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.file_path = opts['file_path']
Beispiel #21
0
 def __init__(self, opts={}):
     opts['name'] = 'task_data_at_sm_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
Beispiel #22
0
 def __init__(self, opts={}):
     opts['name'] = 'interrupt_' + str(kernel_data.RID)
     self.process = opts['process']
     Resource.__init__(self, opts)
     self.message = opts['message']
Beispiel #23
0
 def __init__(self, opts={}):
     opts['name'] = 'output_device_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
Beispiel #24
0
 def __init__(self, opts={}):
     opts["name"] = "tasks_found_" + "_" + str(opts["count"]) + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.count = opts["count"]
Beispiel #25
0
 def __init__(self, opts={}):
     opts['name'] = 'task_at_hd_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.write_info = opts['write_info']
Beispiel #26
0
 def __init__(self, opts={}):
     opts['name'] = 'task_completed_' + str(kernel_data.RID)
     Resource.__init__(self, opts)