-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timerfd_create fails with CLOCK_BOOTTIME #45
Comments
Neither feedbackd nor phoc use |
hmm: Lines 121 to 123 in 702e845
does that consumer check the returned error? |
From gmobile/src/gm-timeout.c: static GSource *
gm_timeout_source_once_new (gulong timeout_ms)
{
...
timer->fd = timerfd_create (CLOCK_BOOTTIME, 0);
if (timer->fd == -1)
return (GSource*)timer;
...
static gboolean
gm_timeout_once_prepare (GSource *source, gint *timeout)
{
...
if (timer->fd == -1)
return FALSE; |
Looking at illumos/illumos-gate@6a72db4a7fa1 I can't find what it does with unsupported clocks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FreeBSD >= 13.1 added
CLOCK_BOOTTIME
but it appears to work differently from what consumers expect.The text was updated successfully, but these errors were encountered: