3 ms·
Obviously with a certain max depth, most probably of 1, meaning you're still missing repeated interrupts.
by makapuf 6y ago
Obviously with a certain max depth, most probably of 1, meaning you're still missing repeated interrupts.
- pantalaimon 6y agoThe critical section is typically very small, usually just modifying a single variable. Interrupts can't happen faster than the CPU frequency anyway, so you won't miss much.
- loeg 6y agoSure, although I think "missing" has negative connotations that don't actually apply to this. When unmasked, your interrupt handler usually just runs until there is no more work to do, which is (again, usually) discoverable. Your device driver is still awoken promptly if the interrupt arrived during a critical section.