mirror of
https://git.rtems.org/rtems-tools/
synced 2025-05-13 22:59:36 +08:00
19 lines
403 B
Python
19 lines
403 B
Python
#
|
|
# RTEMS Supercore Objects
|
|
#
|
|
|
|
import threads
|
|
import helper
|
|
|
|
class CORE_message_queue:
|
|
'''Manage a Supercore message_queue'''
|
|
|
|
def __init__(self, message_queue):
|
|
self.queue = message_queue
|
|
self.wait_queue = threads.queue(self.queue['Wait_queue'])
|
|
# ToDo: self.attribute =''
|
|
# self.buffer
|
|
|
|
def show(self):
|
|
helper.tasks_printer_routine(self.wait_queue)
|