Skip to content
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

BUG:ISR中使用vpi_event_notify #1

Open
tkyzp opened this issue Aug 14, 2022 · 1 comment
Open

BUG:ISR中使用vpi_event_notify #1

tkyzp opened this issue Aug 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@tkyzp
Copy link
Contributor

tkyzp commented Aug 14, 2022

最好不要在ISR中使用vpi_event_notify,否则有可能造成系统卡死。

xQueueGenericSend和xQueueGenericSendFromISR的区别在与
(1)如果队列已满,则,普通send会阻塞,而fromISR不会阻塞;

(2)如果有任务因读取队列而阻塞且该任务优先级高,则普通send会马上yield,使能任务切换到高优先级任务,而fromISR则是返回一个标识。

https://www.cnblogs.com/yanhc/p/12675967.html

@tkyzp tkyzp closed this as completed Aug 14, 2022
@tkyzp
Copy link
Contributor Author

tkyzp commented Aug 14, 2022

bug

@tkyzp tkyzp added the bug Something isn't working label Aug 14, 2022
@tkyzp tkyzp pinned this issue Aug 14, 2022
@tkyzp tkyzp reopened this Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant