mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-15 23:30:53 +08:00
Catch empty task names,
- All the tasks do not have a name.
This commit is contained in:

committed by
Chris Johns

parent
a245635a2e
commit
7a415d4e43
@@ -140,6 +140,8 @@ class semaphore:
|
||||
tasks = wait_queue.tasks()
|
||||
print ' Queue: len = %d, state = %s' % (len(tasks),
|
||||
wait_queue.state())
|
||||
print ' Tasks:'
|
||||
print ' Name (c:current, r:real), (id)'
|
||||
for t in range(0, len(tasks)):
|
||||
print ' ', tasks[t].brief(), ' (%08x)' % (tasks[t].id())
|
||||
else:
|
||||
|
Reference in New Issue
Block a user