I'm on embedded system development and do have a function to register handler functions for an interrupt. But this registered list of handlers need to be mutable accessible within the interrupt handler to be able to remove it once it has been called. But using Mutex inside the IRQ handler could easily lead to deadlocks. What would be a good approach/solution to this requirement?
Thanks in advance for any hints.