search for: clock_id

Displaying 4 results from an estimated 4 matches for "clock_id".

Did you mean: lock_id
2019 Feb 06
1
CentOS 7.6 update with gettimeofday()
In my app compiled on another linux I am getting Assertion 'clock_gettime(clock_id, &ts) == 0' failed at src/shared/time-util.c:34, function now(). Aborting. when calling gettimeofday() on an update CentOS (did not fail in 7.5). Is it possible that the update has changed the size of the types in the timeval struct and causing the crash? Or has there be some for of bug...
2023 Nov 03
0
9.3p1 Daemon Rejects Client Connections on armv7l-dey-linux-gnueabihf w/ GCC 10/11/12
...S64 /* Pause execution for a number of nanoseconds. This function is a cancellation point and therefore not marked with __THROW. */ extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); /* Get resolution of clock CLOCK_ID. */ extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW; /* Get current value of clock CLOCK_ID and store it in TP. */ extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW __nonnull((2)); /* Set clock CLOCK_ID to valu...
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...> +#include <sys/syscall.h> + +extern int __clock_nanosleep(clockid_t, int, + const struct timespec *, struct timespec *); + +/* + * POSIX says this has to return a positive error code, but the system + * call returns error codes in the usual way. + */ +int clock_nanosleep(clockid_t clock_id, int flags, + const struct timespec *request, struct timespec *remain) +{ + return __clock_nanosleep(clock_id, flags, request, remain) ? + errno : 0; +} diff --git a/usr/klibc/gettimeofday.c b/usr/klibc/gettimeofday.c new file mode 100644 index 00000000..919c46df --- /dev/null +++ b/usr/klibc...
2017 Jan 05
1
[Bug 99282] New: KDE kontact crashes always
...00007f2170ccd6ca in start_thread (arg=0x7f2019fa1700) at pthread_create.c:333 #9 0x00007f2178e83f6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 39 (Thread 0x7f201a7a2700 (LWP 7129)): #0 0x00007ffdf5680b12 in clock_gettime () #1 0x00007f2178e92686 in __GI___clock_gettime (clock_id=1, tp=0x7f201a7a19d0) at ../sysdeps/unix/clock_gettime.c:115 #2 0x00007f2179b27af1 in qt_gettime() () from /lib64/libQt5Core.so.5 #3 0x00007f2179c7cde9 in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5 #4 0x00007f2179c7d1e5 in QTimerInfoList::timerWait(timespec&) () from...