예제 #1
0
 def __init__(self, opts = {}):
   opts['name'] = 'enough_space_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
예제 #2
0
파일: terminate.py 프로젝트: Engma90/labs
 def __init__(self, opts = {}):
   opts['name'] = 'terminate_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
예제 #3
0
 def __init__(self, opts={}):
     opts['name'] = 'user_memory_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
예제 #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'] 
예제 #5
0
 def __init__(self, opts = {}):
     opts['name'] = 'input_device_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
예제 #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']
예제 #7
0
파일: channel1.py 프로젝트: Tumas/labs
 def __init__(self, opts={}):
     opts["name"] = "channel1_" + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
예제 #8
0
파일: task_at_hd.py 프로젝트: Engma90/labs
 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']
예제 #9
0
 def __init__(self, opts={}):
     opts['name'] = 'terminate_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
예제 #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']
예제 #11
0
 def __init__(self, opts = {}):
   opts['name'] = 'output_device_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
예제 #12
0
파일: tasks_found.py 프로젝트: jmf-mas/labs
 def __init__(self, opts={}):
     opts['name'] = 'tasks_found_' + '_' + str(opts['count']) + str(
         kernel_data.RID)
     Resource.__init__(self, opts)
     self.count = opts['count']
예제 #13
0
파일: task_loaded.py 프로젝트: Engma90/labs
 def __init__(self, opts = {}):
     opts['name'] = 'task_loaded_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.addresses = opts['addresses']
예제 #14
0
파일: user_memory.py 프로젝트: Engma90/labs
 def __init__(self, opts = {}):
   opts['name'] = 'user_memory_' + str(kernel_data.RID)
   Resource.__init__(self, opts)
예제 #15
0
 def __init__(self, opts = {}):
   opts['name'] = 'task_completed_' + str(kernel_data.RID) 
   Resource.__init__(self, opts)
예제 #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']
예제 #17
0
 def __init__(self, opts = {}):
     opts['name'] = 'task_data_at_sm_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
예제 #18
0
파일: task_loaded.py 프로젝트: jmf-mas/labs
 def __init__(self, opts={}):
     opts['name'] = 'task_loaded_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
     self.addresses = opts['addresses']
예제 #19
0
 def __init__(self, opts = {}):
     opts['name'] = 'kernel_memory_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
예제 #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']
예제 #21
0
 def __init__(self, opts={}):
     opts['name'] = 'task_data_at_sm_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.sem = BinarySemaphore()
예제 #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']
예제 #23
0
 def __init__(self, opts={}):
     opts['name'] = 'output_device_' + str(kernel_data.RID)
     Resource.__init__(self, opts)
예제 #24
0
파일: tasks_found.py 프로젝트: Tumas/labs
 def __init__(self, opts={}):
     opts["name"] = "tasks_found_" + "_" + str(opts["count"]) + str(kernel_data.RID)
     Resource.__init__(self, opts)
     self.count = opts["count"]
예제 #25
0
파일: task_at_hd.py 프로젝트: jmf-mas/labs
 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']
예제 #26
0
 def __init__(self, opts={}):
     opts['name'] = 'task_completed_' + str(kernel_data.RID)
     Resource.__init__(self, opts)