Skip to content

add support for Zend Max Exeuction Timers on FreeBSD - #13393

Merged
arnaud-lb merged 2 commits into
php:masterfrom
dunglas:fix/freebsd-max-execution-timers
Feb 16, 2024
Merged

add support for Zend Max Exeuction Timers on FreeBSD#13393
arnaud-lb merged 2 commits into
php:masterfrom
dunglas:fix/freebsd-max-execution-timers

Conversation

@dunglas

Copy link
Copy Markdown
Member

Add support for the new timeout system (#10141) on FreeBSD.
See also #12814 (comment).

@iluuu1994iluuu1994 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devnexendevnexen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good thanks for doing this.

@dunglas

Copy link
Copy Markdown
MemberAuthor

Thanks, but don't merge yet until we can test on a real FreeBSD. I'm on vacation with no access to a FreeBSD box. I'll test when I'll be back home.

@arnaud-lbarnaud-lb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing on FreeBSD 13.1, CLOCK_BOOTTIME is not supported by timer_create(). According to the manpage we can use CLOCK_REALTIME or CLOCK_MONOTONIC (we could use this one as nearly equivalent for our purpose).

Other than that, after testing with apache2/mod_php it looks good to me!

Let us know when you are ready to merge.

@dunglas
dunglas marked this pull request as ready for review February 15, 2024 16:34
@dunglas

Copy link
Copy Markdown
MemberAuthor

Thanks for testing Arnaud! I updated the code. If you confirm that it works, then we can merge!

@arnaud-lb
arnaud-lb merged commit f84d046 into php:masterFeb 16, 2024
@dunglas
dunglas deleted the fix/freebsd-max-execution-timers branch February 16, 2024 12:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@dunglas@arnaud-lb@iluuu1994@devnexen