Waking up a thread from an interrupt handler
Posted: Tue Sep 27, 2011 1:44 pm
Hello,
I am trying to use the method proposed in this tutorial but I can't make it work. The reason is there is apparently no member of the thread structure called p_rdymsg and no such state as PRSUSPENDED.
I replaced both by p_msg and THD_STATE_SUSPENDED respectively, but I wanted to be sure I wasn't mistaking with this. Was there a change of version or anything since this tutorial is online?
I am trying to use the method proposed in this tutorial but I can't make it work. The reason is there is apparently no member of the thread structure called p_rdymsg and no such state as PRSUSPENDED.
I replaced both by p_msg and THD_STATE_SUSPENDED respectively, but I wanted to be sure I wasn't mistaking with this. Was there a change of version or anything since this tutorial is online?