[Toybox] [PATCH] macOS: add a timer_create() and timer_settimer() to fix the build.
enh
enh at google.com
Fri Sep 24 14:39:08 PDT 2021
Note that these aren't equivalent to the CLOCK_MONOTONIC timer we
have on Linux, but short of spinning up another thread ourselves I
can't see how to implement that on macOS at present.
---
lib/portability.c | 24 ++++++++++++++++++++++++
lib/portability.h | 10 ++++++++++
2 files changed, 34 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-macOS-add-a-timer_create-and-timer_settimer-to-fix-t.patch
Type: application/octet-stream
Size: 2349 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210924/ef7e5564/attachment.obj>
More information about the Toybox
mailing list