mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 19:39:32 +01:00
Updated to new interface
This commit is contained in:
parent
82d051e8e9
commit
56d99c02bd
1 changed files with 2 additions and 3 deletions
|
@ -90,9 +90,8 @@ where
|
||||||
|
|
||||||
Some((nr.task, nr.index))
|
Some((nr.task, nr.index))
|
||||||
} else {
|
} else {
|
||||||
// TODO: Fix this hack...
|
// Set compare
|
||||||
// Extract the compare time.
|
mono.set_compare(&instant);
|
||||||
mono.set_compare(*instant.duration_since_epoch().integer());
|
|
||||||
|
|
||||||
// Double check that the instant we set is really in the future, else
|
// Double check that the instant we set is really in the future, else
|
||||||
// dequeue. If the monotonic is fast enough it can happen that from the
|
// dequeue. If the monotonic is fast enough it can happen that from the
|
||||||
|
|
Loading…
Reference in a new issue