Updated to new interface

This commit is contained in:
Emil Fresk 2021-02-22 20:59:23 +01:00
parent 82d051e8e9
commit 56d99c02bd

View file

@ -90,9 +90,8 @@ where
Some((nr.task, nr.index))
} else {
// TODO: Fix this hack...
// Extract the compare time.
mono.set_compare(*instant.duration_since_epoch().integer());
// Set compare
mono.set_compare(&instant);
// 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