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

xtimer: properly expose xtimer_usleep64() #13370

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

haukepetersen
Copy link
Contributor

Contribution description

xtimer_usleep64() is currently implemented (see sys/include/xtimer/implementation.h), but not properly exposed in the actual xtimer API (sys/include/xtimer.h). Although the function was callable and usable before, this PR prevents any future (internal) xtimer changes from braking code that uses this function. Also having it documented does probably not hurt...

Testing procedure

  • check the doxygen output
  • IMO not really any test needed, as no actual code was changed... But if there is an urge to run something, simply call xtimer_usleep64() with timeout > UINT32_MAX in any example and wait for > 1,19 hours, the blocked thread should continue properly after the specified timeout...

Issues/PRs references

see apache/mynewt-nimble#753

@haukepetersen haukepetersen added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Area: doc Area: Documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: timers Area: timer subsystems labels Feb 13, 2020
Copy link
Contributor

@kaspar030 kaspar030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. This basically just adds documentation to what was defined in xtimer/implementation.h.

@kaspar030 kaspar030 merged commit ef6bfbb into RIOT-OS:master Feb 13, 2020
@haukepetersen haukepetersen deleted the add_xtimer_usleep64 branch February 13, 2020 15:02
@leandrolanzieri leandrolanzieri added this to the Release 2020.04 milestone Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: doc Area: Documentation Area: timers Area: timer subsystems CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants