def show(self,from_tty): print(' Name:',self.object_control.name()) print(' Attr:',self.attr.to_string()) if self.attr.test('barrier','barrier-auto-release'): max_count = self.core_b_control.max_count() print('Aut Count:', max_count) print(' Waiting:',self.core_b_control.waiting_threads()) helper.tasks_printer_routine(self.core_b_control.tasks())
def show(self): helper.tasks_printer_routine(self.wait_queue)
def show(self, from_tty): print(' Name:', self.object_control.name()) print(' Attr:', self.attr.to_string()) helper.tasks_printer_routine(self.wait_queue) print(' Memory:') self.heap.show()