History log of /PHP-8.2/ext/pcntl/pcntl.c (Results 1 – 25 of 239)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1bdb0fdd 16-Nov-2023 Gina Peter Banyard

Refactor pcntl_sigprocmask()/pcntl_sigwaitinfo()/pcntl_sigtimedwait() (#11860)


# 5465cea8 15-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Remove unused variable 'error' (#12438)

Will also get rid of the potential allocation happening in
zend_is_callable_ex().


# bc4807c5 18-Sep-2023 George Peter Banyard

ext/pcntl: Remove useless call to zend_get_callable_name() (#12241)

Result of it is unused


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


# 03fd4054 06-Sep-2022 Tim Düsterhus

Use php_info_print_table_header for actual column headers only (#9485)

Using php_info_print_table_header() for "Foo: bar" looks odd and out of place,
because the whole line is colored. I

Use php_info_print_table_header for actual column headers only (#9485)

Using php_info_print_table_header() for "Foo: bar" looks odd and out of place,
because the whole line is colored. It is also questionable from a HTML
semantics point of view, because it does not described the columns that follow.

The use of this across extensions is inconsistent. It was part of the skeleton,
but ext/date or ext/json already use a regular row.

show more ...


# 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 ...


# 46e9c510 04-Jul-2023 Ilija Tovilo

Use waitpid(-1) over WAIT_ANY

This macro is only available in glibc.

Closes GH-11588


# 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


# 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.


# 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.


# 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.


# 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 ...


# e33de9dd 23-May-2022 David Carlier

Fix pcntl Haiku build

guarding SIGIO constant.

Closes GH-8612.


# 8b15858c 23-Feb-2022 David Carlier

Fix GH-8142: Compilation error on cygwin

* pcntl: SIGPOLL/si_band is unsupported
* intl: enable the signal apis with `_POSIX_C_SOURCE`

Closes GH-8146.


# be22018f 09-Jan-2022 David Carlier

Fix pcntl_rfork build for DragonFlyBSD

RFTSIGZMB flag unsupported, guarding with the said flag instead of system
in case the implementaion catches up with FreeBSD's.

Closes GH-7

Fix pcntl_rfork build for DragonFlyBSD

RFTSIGZMB flag unsupported, guarding with the said flag instead of system
in case the implementaion catches up with FreeBSD's.

Closes GH-7918.

show more ...


# ebace1d7 21-Dec-2021 David CARLIER

pcntl add ECAPMODE from FreeBSD (#7716)


# aa35499b 21-Dec-2021 Arnaud Le Blanc

Use new param API in ext/pcntl (#7751)


# 283669f1 30-Nov-2021 David CARLIER

pcntl add forkx for solaris based systems. (#7654)


# 007046fd 31-May-2021 David Carlier

pcntl_rfork: following-up suggestions.

removing RFMEM constant.
treating beforehand the only case where rfork would return EINVAL.


12345678910