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

SPIN1_API: dispatcher runs with interrupts disabled too agressively #82

Open
lplana opened this issue Aug 1, 2018 · 0 comments
Open

Comments

@lplana
Copy link
Member

lplana commented Aug 1, 2018

  1. The only critical section is the access to priority queue head/tail registers, which are also accessed by the scheduler. The rest of the code can run outside the critical section.

  2. The critical section only needs to disable 'irq' interrupts, which can start the scheduler. 'fiq' interrupts do not start the scheduler and, therefore, do not affect the priority queue registers.

@lplana lplana changed the title spin1_api dispatcher runs with interrupts disabled too agressively SPIN1_API: dispatcher runs with interrupts disabled too agressively Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant