Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/event/timeout: add event_timeout_is_pending() #19963

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Oct 4, 2023

Contribution description

This adds a small convenience function to check if an event is scheduled.

Testing procedure

tests/sys/events includes a test for the new function.

Issues/PRs references

@benpicco benpicco changed the title sys/event/timeout: add event_timeout_set() sys/event/timeout: add event_timeout_is_set() Oct 4, 2023
@github-actions github-actions bot added Area: tests Area: tests and testing framework Area: sys Area: System labels Oct 4, 2023
@benpicco benpicco force-pushed the event_timeout_is_set branch from eb8acbe to 8198f45 Compare October 4, 2023 11:26
@benpicco benpicco requested a review from kaspar030 October 4, 2023 11:27
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Oct 4, 2023
@riot-ci
Copy link

riot-ci commented Oct 4, 2023

Murdock results

✔️ PASSED

2dc4412 tests/sys/events: add event_timeout_is_pending() to test

Success Failures Total Runtime
7937 0 7937 14m:03s

Artifacts

@maribu
Copy link
Member

maribu commented Oct 5, 2023

bors merge

@maribu
Copy link
Member

maribu commented Oct 5, 2023

bors retry

@bors
Copy link
Contributor

bors bot commented Oct 5, 2023

Already running a review

bors bot added a commit that referenced this pull request Oct 5, 2023
19963: sys/event/timeout: add event_timeout_is_set() r=maribu a=benpicco



Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
@bors
Copy link
Contributor

bors bot commented Oct 5, 2023

Build failed:

sys/include/event/timeout.h Outdated Show resolved Hide resolved
@benpicco benpicco force-pushed the event_timeout_is_set branch from 8198f45 to 2dc4412 Compare October 11, 2023 20:03
@benpicco benpicco changed the title sys/event/timeout: add event_timeout_is_set() sys/event/timeout: add event_timeout_is_pending() Oct 11, 2023
@benpicco
Copy link
Contributor Author

bors merge

@bors bors bot merged commit 910e0e2 into RIOT-OS:master Oct 16, 2023
24 checks passed
@bors
Copy link
Contributor

bors bot commented Oct 16, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@benpicco benpicco deleted the event_timeout_is_set branch October 17, 2023 06:34
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.01 milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants