[En-Nut-Discussion] NutThreadRemoveQueue clears runQueue to NULL

Ole Reinhardt ole.reinhardt at embedded-it.de
Wed Aug 28 12:29:20 CEST 2013


Hi!

>     Ole> However this would not prevent Philips bug, as the scheduling
>     Ole> appears in the uart write there...
> 
> It Philips problem a "bug" or documented missing feature?

I understood:

- it is not allowed to use a scheduling function in a timer callback
- Phillip used printf in the timer callback
- This lead to an error

I referred to something different:

- The timer demo writes in a comment:
  "It would be great to be able to start a thread here, but
   unfortunately this doesn't work in Nut/OS."

  The reason is the same that caused Phillips bug.

My idea was an idea to enhance Nut/OS features by implementing a
NutThreadCreateAsync that would allow to create new threads in functions
that does not allow scheduling (like the timer callback, interrupts,
etc...).

Bye,

Ole

-- 
kernel concepts GmbH            Tel: +49-271-771091-14
Sieghuetter Hauptweg 48         Mob: +49-177-7420433
D-57072 Siegen
http://www.embedded-it.de
http://www.kernelconcepts.de


More information about the En-Nut-Discussion mailing list