#
b8115d6c |
| 13-Nov-2024 |
David Carlier |
Fix GH-16769: php_pcntl_set_user_signal_infos aborts when a signal is a reference. close GH-16772
|
#
5853cdb7 |
| 20-Aug-2024 |
Gina Peter Bnayard |
Use "must not" instead of "cannot" wording
|
#
c811d589 |
| 18-Aug-2024 |
Gina Peter Bnayard |
ext/pcntl: Use standard wording for ValueError
|
#
e7c4d54d |
| 18-Aug-2024 |
Gina Peter Bnayard |
Use new helper function for "cannot be empty" ValueErrors
|
#
17cf7b38 |
| 09-Jul-2024 |
David Carlier |
ext/pcntl adding Pcntl namespace for Qos class. Close GH-14892
|
#
c2fd071d |
| 20-Jun-2024 |
Vladimir Vrzić |
ext/pcntl: Added new function pcntl_waitid to obtain status information pertaining termination, stop, and/or continue events in one the caller's child processes. close GH-14617
|
#
c44834d8 |
| 29-Jun-2024 |
Peter Kokot |
Trim trailing whitespace (#14721)
|
#
11accb5c |
| 25-Jun-2024 |
Arnaud Le Blanc |
Preferably include from build dir (#13516) * Include from build dir first This fixes out of tree builds by ensuring that configure artifacts are included from the build dir.
Preferably include from build dir (#13516) * Include from build dir first This fixes out of tree builds by ensuring that configure artifacts are included from the build dir. Before, out of tree builds would preferably include files from the src dir, as the include path was defined as follows (ignoring includes from ext/ and sapi/) : -I$(top_builddir)/main -I$(top_srcdir) -I$(top_builddir)/TSRM -I$(top_builddir)/Zend -I$(top_srcdir)/main -I$(top_srcdir)/Zend -I$(top_srcdir)/TSRM -I$(top_builddir)/ As a result, an out of tree build would include configure artifacts such as `main/php_config.h` from the src dir. After this change, the include path is defined as follows: -I$(top_builddir)/main -I$(top_builddir) -I$(top_srcdir)/main -I$(top_srcdir) -I$(top_builddir)/TSRM -I$(top_builddir)/Zend -I$(top_srcdir)/Zend -I$(top_srcdir)/TSRM * Fix extension include path for out of tree builds * Include config.h with the brackets form `#include "config.h"` searches in the directory containing the including-file before any other include path. This can include the wrong config.h when building out of tree and a config.h exists in the source tree. Using `#include <config.h>` uses exclusively the include path, and gives priority to the build dir.
show more ...
|
#
fd2d8696 |
| 08-Jun-2024 |
Gina Peter Banyard |
Clean-up some more headers (#14416) Remove unused headers (such as php_ini.h for extensions that don't define INI settings) Use more specific headers when possible
|
#
2fa3e809 |
| 04-Jun-2024 |
Gina Peter Banyard |
ext/pcntl: Fix [-Wsign-compare] warnings
|
#
fe7f699c |
| 18-May-2024 |
David Carlier |
ext/pcntl: adding SIGTRAP handling for freebsd. if a restricted file descriptor based syscall by the system had been attempted, a SIGTRAP is raised with the syscall id. close GH
ext/pcntl: adding SIGTRAP handling for freebsd. if a restricted file descriptor based syscall by the system had been attempted, a SIGTRAP is raised with the syscall id. close GH-14266
show more ...
|
#
4ed1835f |
| 15-May-2024 |
David CARLIER |
ext/pcntl: cpu affinity support for solaris/illumos. (#14199)
|
#
19c8a10f |
| 09-May-2024 |
David Carlier |
ext/pcntl: add pcntl_getcpu support for solaris. using getcpuid having similar signature too. close GH-14188
|
#
32936c51 |
| 29-Apr-2024 |
David CARLIER |
ext/pcntl: porting pcntl cpu affinity api to netbsd. (#14056)
|
#
23640542 |
| 20-Apr-2024 |
David CARLIER |
ext/pcntl: pcntl_fork refining error handling. (#14021)
|
#
d4072667 |
| 11-Apr-2024 |
David Carlier |
ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition. Introducting macOs Quality Of Service through those two calls. on macOs arm64/M*, there is no concept of individual cores, thus
ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition. Introducting macOs Quality Of Service through those two calls. on macOs arm64/M*, there is no concept of individual cores, thus the old thread policy for cpu affinity does not work here. Instead, the user can apply to the current process the level of performance/energy consumption they wish from the highest QosClass::UserInteractive to QosClass::Background. Close GH-13945
show more ...
|
#
7c860628 |
| 07-Apr-2024 |
David CARLIER |
ext/pcntl: getpriority/setpriority `who` default value handling change. (#13911) 0 refers to the calling process, all across unixes, thus saving one syscall.
|
#
d8f290057 |
| 07-Apr-2024 |
David Carlier |
ext/pcntl: adding pcntl_getcpu. using sched_getcpu under the hood (Linux and FreeBSD). Returns the current cpu id for the current process. For Linux, we need to see beyond the sole p
ext/pcntl: adding pcntl_getcpu. using sched_getcpu under the hood (Linux and FreeBSD). Returns the current cpu id for the current process. For Linux, we need to see beyond the sole presence of the symbol to consider it. Mostly useful, for now, in the cpu affinity context since the os can migrate processes as it sees fits otherwise. Clos GH-13908
show more ...
|
#
dd2ffaab |
| 07-Apr-2024 |
David CARLIER |
ext/pcntl: pcntl affinity improves EINVAL handling in both cases. (#13907) also disable tests on travis.
|
#
01817e99 |
| 07-Apr-2024 |
David Carlier |
ext/pcntl pcntl_signal_get_handler update. The situation varies from platform to another, thus taking in account the complexity of it. Close GH-13902
|
#
1cf8291c |
| 05-Apr-2024 |
David Carlier |
ext/pcntl: cpu affinity api introduction. For now, working on Linux, FreeBSD >= 13.x and DragonFlyBSD. Handy wrapper to assign an array of cpu ids or to retrieve the cpu ids assigned
ext/pcntl: cpu affinity api introduction. For now, working on Linux, FreeBSD >= 13.x and DragonFlyBSD. Handy wrapper to assign an array of cpu ids or to retrieve the cpu ids assigned to a given process. pcntl_setaffinity inserts valid unique cpu ids (within the range of available cpus). Close GH-13893
show more ...
|
#
25081385 |
| 04-Apr-2024 |
David CARLIER |
ext/pcntl: pcnt_setns few nitpicks changes. (#13885)
|
#
ae4978a1 |
| 03-Apr-2024 |
David Carlier |
ext/pcntl: adding pcntl_setns for Linux >= 5.3 allows a given process to join an existing Linux namespace, relatively complementary to the existing pcntl_unshare. Close GH-13878
|
#
7db7c420 |
| 02-Apr-2024 |
David CARLIER |
ext/pcntl: pcntl_unshare minor error message clarification (for EINVAL). (#13872) it is not necessarily a bad flag but can just be unsupported by the current kernel.
|
#
1bdb0fdd |
| 16-Nov-2023 |
Gina Peter Banyard |
Refactor pcntl_sigprocmask()/pcntl_sigwaitinfo()/pcntl_sigtimedwait() (#11860)
|