We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bef861 commit ef61ed1Copy full SHA for ef61ed1
Zend/zend_max_execution_timer.c
@@ -66,7 +66,7 @@ ZEND_API void zend_max_execution_timer_init(void) /* {{{ */
66
zend_strerror_noreturn(E_ERROR, errno, "Could not create timer");
67
}
68
69
- EG(pid) = getpid();
+ EG(pid) = pid;
70
71
# ifdef MAX_EXECUTION_TIMERS_DEBUG
72
fprintf(stderr, "Timer %#jx created on thread %d\n", (uintmax_t) EG(max_execution_timer_timer), sev.sigev_notify_thread_id);
0 commit comments