Hi Jianwen,
thread_msg does a context switch between p3 and p1 because p1 does not have
a message queue.
The second message from p3 causes p3 to go into a blocked state and give up
control otherwise the previous message will be lost.
if in p1 a msg_queue is defined:
void *thread1(void *arg)
{
Hello,
I am a new beginner to learn RIOT. I got some question when I run the
"thread_msg" on board "SAMR21-xpro".
For the thread1, thread2 and thread3, they have the same priority. so when the
thread3 is running, how can scheduler switch to the thread1.
I saw these in the API:
"In case of equa