Differences

This shows you the differences between two versions of the page.

chibios:howtos:wakeup [2011/10/03 20:49]
giovanni [How to wake up a thread from an interrupt handler]
chibios:howtos:wakeup [2014/05/15 17:03] (current)
giovanni [Waking up all the waiting threads]
Line 106: Line 106:
  
   CH_IRQ_EPILOGUE();   CH_IRQ_EPILOGUE();
 +}
 +</code>
 +
 +The thread would be like this:
 +<code>
 +msg_t mythread(void *p) {
 +  
 +  while (TRUE) {
 +    chSemWait(&mysem);
 +    /* Do something.*/
 +  }
 } }
 </code> </code>
 
chibios/howtos/wakeup.txt · Last modified: 2014/05/15 17:03 by giovanni
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.3