ruduino icon indicating copy to clipboard operation
ruduino copied to clipboard

RFC: Add API to suspend/restore interrupts ...

Open mbuesch opened this issue 3 years ago • 2 comments

... similar to the current without_interrupts() helper.

What do you think about this?

I renamed the existing disable/enable API to with_irqs_disabled(). The new API for suspend/restore is with_irqs_suspended(). The old without_interrupts remains as deprecated alias.

I'm not so sure about the naming. Suggestions for better naming are welcome. :)

This is completely untested. Just for discussion.

mbuesch avatar May 21 '22 17:05 mbuesch

This merge request now needs git rebase.

(Sorry for not (yet??) contributing to the requested discussion.)

stappersg avatar Jun 08 '22 12:06 stappersg

This merge request now needs git rebase.

(Sorry for not (yet??) contributing to the requested discussion.)

stappersg avatar Jun 08 '22 12:06 stappersg