History log of /php-src/ext/pcntl/tests/pcntl_getcpu.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# a37d661d 10-Apr-2024 Dmitry Stogov

Fix false positive test failure


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