[En-Nut-Discussion] Should drivers yield explicit?
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Mon Jul 16 11:12:45 CEST 2012
Hello,
in my CANBUS driver for the STM32, the normal case is that the message gets
loaded to the fifo and the function return immediate. In that case, there is
no scheduling point and the calling thread keeps control.
Should a NutSleep(O) or NutThreadYield() get inserted in that case?
Thanks
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list