History log of /PHP-8.2/ext/pcntl/pcntl.c (Results 1 – 25 of 260)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# c59bfc8d 03-Aug-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Revert the fix for GH-11498


# f7be15db 02-Aug-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Revert the fix for GH-11498

People relied on manually waiting for children, but the fix for GH-11498
broke this. Fixing this in PHP is fundamentally incompatible with doing
the wait

Revert the fix for GH-11498

People relied on manually waiting for children, but the fix for GH-11498
broke this. Fixing this in PHP is fundamentally incompatible with doing
the wait loop in userland. This reverts to the old behaviour.

Closes GH-11863.

show more ...

# 60dd88c9 04-Jul-2023 Ilija Tovilo

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Use waitpid(-1) over WAIT_ANY


# 46e9c510 04-Jul-2023 Ilija Tovilo

Use waitpid(-1) over WAIT_ANY

This macro is only available in glibc.

Closes GH-11588

# 7d188491 27-Jun-2023 Ilija Tovilo

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix use of uninitialized memory in pcntl SIGCHLD handling


# 003cf9da 26-Jun-2023 Ilija Tovilo

Fix use of uninitialized memory in pcntl SIGCHLD handling

psig needs to stay the tail, so that we don't get a dangling element on the end.

Closes GH-11536

# a8bf8e37 25-Jun-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Add missing WUNTRACED


# 931d8d05 24-Jun-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add missing WUNTRACED

I forgot to add this in GH-11509.

Closes GH-11526.

# 022b6aa4 23-Jun-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix GH-11498: SIGCHLD is not always returned from proc_open


# f39b5139 22-Jun-2023 nielsdos <7771979+nielsdos@users.noreply.github.com>

Fix GH-11498: SIGCHLD is not always returned from proc_open

Linux, and maybe other unixes, may merge multiple standard signals into
a single one. This causes issues when keeping track of

Fix GH-11498: SIGCHLD is not always returned from proc_open

Linux, and maybe other unixes, may merge multiple standard signals into
a single one. This causes issues when keeping track of process IDs.
Solve this by manually checking which children are dead using waitpid().

Test case is based on taka-oyama's test code.

Closes GH-11509.

show more ...

# a0e71cb8 06-May-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix maximum argument count of pcntl_forkx()

Closes GH-11199.

# 37030257 03-Mar-2023 Arnaud Le Blanc

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
[ci skip] NEWS
fix: support for timeouts with ZTS on Linux (#10141)


# ad85e714 03-Mar-2023 Kévin Dunglas

fix: support for timeouts with ZTS on Linux (#10141)

# 81aedad4 08-Feb-2023 David Carlier

opcache/pcntl/cli: Fixes few functions signatures.

# d8fc1af8 13-Nov-2022 Arnaud Le Blanc

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
[ci skip] NEWS
Fix GH-9298: remove all registered signal handlers in pcntl RSHUTDOWN


# 5ecbb1b3 08-Nov-2022 Erki Aring

Fix GH-9298: remove all registered signal handlers in pcntl RSHUTDOWN

# 962baf77 01-Aug-2022 Máté Kocsis

Declare ext/pcntl constants in stubs (#9075)

# 520bb2ec 22-Jul-2022 jcm

Fix get/set priority - error handling for MacOS and extra tests

Closes GH-9044.

# 2bc6025c 16-Jul-2022 Aaron Piotrowski

Prevent fiber switching in tick function and signal handlers (#9028)

# 280fd680 01-Jun-2022 Levi Morrison

Make vm_interrupt and timed_out atomic (#8327)

This is done by adding a new zend_atomic_bool type. The type
definition is only available for compiler alignment and size info; it
shou

Make vm_interrupt and timed_out atomic (#8327)

This is done by adding a new zend_atomic_bool type. The type
definition is only available for compiler alignment and size info; it
should be treated as opaque and only the zend_atomic_bool_* family of
functions should be used.

Note that directly using atomic_bool is complicated. All C++ compilers
stdlibs that I checked typedef atomic_bool to std::atomic<bool>, which
can't be used in an extern "C" section, and there's at least one usage
of this in core, and probably more outside of it.

So, instead use platform specific functions, preferring compiler
intrinsics.

show more ...

# 6c1ea04b 24-May-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix pcntl Haiku build


# 5017240c 24-May-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix pcntl Haiku build


# e33de9dd 23-May-2022 David Carlier

Fix pcntl Haiku build

guarding SIGIO constant.

Closes GH-8612.

# ea62b808 04-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix GH-8142: Compilation error on cygwin


# 4b90eef9 04-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8142: Compilation error on cygwin


1234567891011