Loading system/osi/src/alarm.c +4 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,10 @@ static bool timer_create_internal(const clockid_t clock_id, timer_t *timer) { if (timer_create(clock_id, &sigevent, timer) == -1) { LOG_ERROR(LOG_TAG, "%s unable to create timer with clock %d: %s", __func__, clock_id, strerror(errno)); if (clock_id == CLOCK_BOOTTIME_ALARM) { LOG_ERROR(LOG_TAG, "The kernel might not have support for timer_create(CLOCK_BOOTTIME_ALARM): https://lwn.net/Articles/429925/"); LOG_ERROR(LOG_TAG, "See following patches: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=CLOCK_BOOTTIME_ALARM"); } return false; } Loading Loading
system/osi/src/alarm.c +4 −0 Original line number Diff line number Diff line Loading @@ -659,6 +659,10 @@ static bool timer_create_internal(const clockid_t clock_id, timer_t *timer) { if (timer_create(clock_id, &sigevent, timer) == -1) { LOG_ERROR(LOG_TAG, "%s unable to create timer with clock %d: %s", __func__, clock_id, strerror(errno)); if (clock_id == CLOCK_BOOTTIME_ALARM) { LOG_ERROR(LOG_TAG, "The kernel might not have support for timer_create(CLOCK_BOOTTIME_ALARM): https://lwn.net/Articles/429925/"); LOG_ERROR(LOG_TAG, "See following patches: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=CLOCK_BOOTTIME_ALARM"); } return false; } Loading