Skip to content

Conversation

trowski
Copy link
Member

@trowski trowski commented Jul 10, 2021

Adds support for fibers on *nix platforms not supported by boost.context, instead using ucontext_t.

I tested on Ubuntu 20.04.2 x86_64 with the added configure flag --disable-fiber-asm (thanks for the help adding the flag @krakjoe).

Also tested on macOS 11.4 x86_64 in the same way, but additionally defining CPPFLAGS="-D_XOPEN_SOURCE" before running configure.

Related bug report: 81238

@krakjoe krakjoe added the Bug label Jul 11, 2021
Copy link
Member

@krakjoe krakjoe left a comment

Choose a reason for hiding this comment

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

Don't forget the news entry for the bug fix.

@trowski trowski merged commit 8fd747a into php:master Jul 11, 2021
@trowski trowski deleted the ucontext branch July 11, 2021 20:40
Sign up for free to 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.

3 participants