[En-Nut-Discussion] NutThreadSetPriority

Harald Kipp harald.kipp at egnite.de
Thu Dec 4 20:58:19 CET 2003


Hi Yuri,

Threads do not inherit the parent's priority, but are all
started with priority 64.

When starting with your own apps, make sure to use the
Makefile similar to those used in other Nut/OS samples.

You can also check NutThreadCreate's return value. If it's
NULL, then the system ran out of memory most probably.

Finally make sure, that your threads are not blocking
the CPU. Nut/OS is non-preemptive.

Harald




More information about the En-Nut-Discussion mailing list