Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libtock-sync: alarm: Support empty delays
If libtocksync_alarm_delay_ms() is provided a delay of 0ms we currenty schedule an alarm which is a high overhead for a empty delay. Instead let's just call a yield_no_wait() and return success if we don't actually need to delay. Signed-off-by: Alistair Francis <[email protected]>
- Loading branch information