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
I think that these blocks should be very useful, because use of ANTARES_ENABLE/DISABLE_IRQS for atomic and non-atomic blocks forces enabling or disabling interrupts but not saves the state.
Yep, this is already WiP, just hasn't been pushed yet to antares git since it's not yet done for all available architectures. Expect it sometime later this month, when I'll finally have some free time.
I'm aiming for linux kernel-like spinlock_irqsave/spinlock_irqrestore api to do locking.
I think that these blocks should be very useful, because use of ANTARES_ENABLE/DISABLE_IRQS for atomic and non-atomic blocks forces enabling or disabling interrupts but not saves the state.
See http://www.nongnu.org/avr-libc/user-manual/group__util__atomic.html for example of what I mean.
The text was updated successfully, but these errors were encountered: