Skip to content

Instantly share code, notes, and snippets.

/stdin.txt
Created Apr 16, 2013

Embed
What would you like to do?
stdin
Name: LBIO
Attr: 0x00000054,local,pri,bin-sema,inherit-pri,no-pri-ceiling
Lock: unlocked
Nesting: 0
Blocked: 0
Holder: unlocked
---------------------------------------------------------------------------
error Traceback (most recent call last)
<ipython-input-16-e625cbe47821> in <module>()
----> 1 sem.show(id)
/home/dhananjay/Downloads/rtems-20100326/classic.py in show(self, from_tty)
188 print 'unlocked'
189 wait_queue = threads.queue(core_mutex['Wait_queue'])
--> 190 tasks = wait_queue.tasks()
191 print ' Queue: len = %d, state = %s' % (len(tasks),
192 wait_queue.state())
/home/dhananjay/Downloads/rtems-20100326/threads.py in tasks(self)
190 for ph in range(0, self.priority_headers):
191 t.extend(task_chain(chains.control( \
--> 192 self.que['Queues']['Priority'])))
193 return t
194
/home/dhananjay/Downloads/rtems-20100326/threads.py in task_chain(chain)
13 def task_chain(chain):
14 tasks = []
---> 15 node = chain.first()
16 while not node.null():
17 print node.addr
/home/dhananjay/Downloads/rtems-20100326/chains.py in first(self)
38
39 def first(self):
---> 40 return node(self.ctrl['first'].dereference())
41
42 def last(self):
error: There is no member named first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.