You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First of all, thank you for this great course.
I'm currently following the course and trying to write and test all the demos and challenges.
In part 6 where you talk about Mutex, I noticed that there is something wrong and only one of the tasks is executed, and the other task is completely blocked and never executed.
I found out this problem by adding these lines before Serial.println(shared_var); line in esp32-freertos-06-demo-mutex.ino.
The function pcTaskGetName(NULL) returns the pcName of the task.
Hello,
First of all, thank you for this great course.
I'm currently following the course and trying to write and test all the demos and challenges.
In part 6 where you talk about Mutex, I noticed that there is something wrong and only one of the tasks is executed, and the other task is completely blocked and never executed.
I found out this problem by adding these lines before
Serial.println(shared_var);
line inesp32-freertos-06-demo-mutex.ino
.The function
pcTaskGetName(NULL)
returns thepcName
of the task.This is the resulting output:
I still don't know why only one task is running. Maybe it has something to do with
xBlockTime
or something else.The text was updated successfully, but these errors were encountered: