Let say I add a job excJobAdd(myFunc, ...)
which will get scheduled in the excTask
. In the function I do a blocking call:
int myFunc(...) {
...
semTake(...)
...
}
Assuming I never come out of the blocking call. What are the consequences?
One thing I can think of is:
excTask
will be blockedThough tExcTask is not a real ISR / exception, it still executes in ISR context. Try to do a blocking call in ISR context is illegal and raises the corresponding errno.