We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0f1ab commit 2be0aabCopy full SHA for 2be0aab
Zend/zend_timers.c
@@ -47,7 +47,7 @@ ZEND_API void zend_timers_create(void) /* {{{ */
47
sev.sigev_signo = SIGIO;
48
sev.sigev_notify_thread_id = (pid_t) syscall(SYS_gettid);
49
50
- if (timer_create(CLOCK_THREAD_CPUTIME_ID, &sev, &EG(timer)) != 0) {
+ if (timer_create(CLOCK_REALTIME, &sev, &EG(timer)) != 0) {
51
zend_strerror_noreturn(E_ERROR, errno, "Could not create timer");
52
}
53
0 commit comments