sys: xtimer: WIP: xtimer refactoring#5355
Conversation
Signed-off-by: malo <malo@25cmsquare.io>
|
We have to solve #5338 first, otherwise, disableIRQ(), xtimer_now64() doesn't work as the overflow interrupt might get lost. |
|
Hello @kaspar030 , |
|
@kaspar030 @gebart are these fixes addressed by one of your PRs? Can you take a look? |
|
I think #5428 will fix this, @kaspar030 what do you think? |
|
As #5428 was postponed, I think this one needs that too, however we could also look if that PR is addressing the same issue as this one. |
|
#5428 was postponed so this one needs to go too (+ Kaspar is on vacation) |
|
What's the state of this PR? |
|
I'd like to know if we can close this PR if the fixes it provides are already addressed by already merged PRs... |
|
IMHO this PR is quite outdated, it doesn't use the xtimer_ticks32/64 types and is way before the major rework done in #5608. +1 for closing |
|
closing... wbr |
Hello,
addressing issue reported in #4902. The idea is to get rid of timer_set_absolute with 32bits target.
Now all the magic happens in _xtimer_set64 where there is irq disabled between getting the current absolute time and target calculations.
have had look at xtimer_sleep_until as well - not to duplicate code from _xtimer_sleep and use 64bits last_wakeup arg.
It it still WIP (need to adapt the rest of the sources for new xtimer_sleep_until arg), but would like to get general feedback.
wbr
malo