-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASR platform manager synchronization seems to be completely broken #26637
Comments
Also, where is _TryLockChipStack implemented for ASR? I don't see it. |
Note that I only reviewed PlatformManager and TimeSupport from #26361 and both were broken. I have extremely low confidence in any of the rest of it... |
Because in src/ , that is not used before. Just in case ,we will add it soon later |
In addition, src/include/platform/internal/GenericPlatformManagerImpl_FreeRTOS.ipp may cause the same problem:
StackLock lock; // should it open lock again? @bzbarsky-apple |
It does, in the destructor of the StackLock. And temporarily while the StackUnlock is in scope, because the thread can end up sleeping under that xQueueReceive call, and sleeping should not be done with a lock held. |
See #26361 (review)
@tx2rx @andy31415
The text was updated successfully, but these errors were encountered: