event_periodic_callback: add event_periodic_callback_oneshot()#20861
event_periodic_callback: add event_periodic_callback_oneshot()#20861benpicco wants to merge 2 commits intoRIOT-OS:masterfrom
Conversation
3f294a7 to
bef6232
Compare
|
I'm not too familiar with the details of the different event queue APIs, but the naming |
I would not expect a periodic event to count but somehow it does looks a bit going a egg-laying-wool-milk-pig attempt to events which are not events but tasks that are parsed by workers named event threads I think the naming of and the actual implementation is quiet fitting |
|
I agree that this is confusing, we can do much better simply by not trying to stack too much on top of each other - see #21219 |
Contribution description
Often there is a need to execute an event once after a delay.
This adds a convenience helper function for it.
Testing procedure
A test for the new function has been added to
tests/sys/event_periodic_callbackIssues/PRs references