1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-27 01:01:52 -07:00
emacs/m4
Paul Eggert 96278de8ac New function num-processors
This addresses a FIXME comment in lisp/emacs-lisp/comp.el,
relating to the number of subsidiary processes used by
comp-run-async-workers in native compilation.
* admin/merge-gnulib (GNULIB_MODULES): Add nproc.
* doc/lispref/processes.texi (Process Information), etc/NEWS:
Document num-processors.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/nproc.c, lib/nproc.h, m4/nproc.m4:
New files, copied from Gnulib by admin/merge-gnulib.
* lisp/emacs-lisp/comp.el (w32-get-nproc): Remove decl.
(comp-effective-async-max-jobs): Use num-processors.
* src/process.c: Include nproc.h.
(Fnum_processors): New function.
(syms_of_process): Define ‘all’, ‘current’, ‘num-processors’.
* src/w32proc.c (Fw32_get_nproc): Add FIXME comment.
* test/src/process-tests.el (process-num-processors): New test.
2021-10-10 14:00:26 -07:00
..
00gnulib.m4
__inline.m4
absolute-header.m4
acl.m4
alloca.m4
builtin-expect.m4
byteswap.m4
canonicalize.m4
clock_time.m4
copy-file-range.m4
d-type.m4
dirent_h.m4
dirfd.m4
double-slash-root.m4
dup2.m4
eealloc.m4
environ.m4
errno_h.m4
euidaccess.m4
execinfo.m4
explicit_bzero.m4
extensions.m4
extern-inline.m4
faccessat.m4
fchmodat.m4
fcntl.m4
fcntl_h.m4
fdopendir.m4
filemode.m4
flexmember.m4
fpending.m4
fpieee.m4
free.m4
fstatat.m4
fsusage.m4
fsync.m4
futimens.m4
getdtablesize.m4
getgroups.m4
getloadavg.m4
getopt.m4
getrandom.m4
gettime.m4
gettimeofday.m4
gnulib-common.m4
gnulib-comp.m4
group-member.m4
ieee754-h.m4
include_next.m4
inttypes.m4
largefile.m4
lchmod.m4
libgmp.m4
limits-h.m4
lstat.m4
malloc.m4
manywarnings.m4
mbstate_t.m4
md5.m4
memmem.m4
mempcpy.m4
memrchr.m4
minmax.m4
mkostemp.m4
mktime.m4
mode_t.m4
multiarch.m4
nocrash.m4
nproc.m4
nstrftime.m4
off_t.m4
open-cloexec.m4
open-slash.m4
open.m4
pathmax.m4
pid_t.m4
pipe2.m4
pkg.m4
pselect.m4
pthread_sigmask.m4
rawmemchr.m4
readlink.m4
readlinkat.m4
realloc.m4
regex.m4
sha1.m4
sha256.m4
sha512.m4
sig2str.m4
sigdescr_np.m4
signal_h.m4
socklen.m4
ssize_t.m4
st_dm_mode.m4
stat-time.m4
std-gnu11.m4
stdalign.m4
stddef_h.m4
stdint.m4
stdio_h.m4
stdlib_h.m4
stpcpy.m4
string_h.m4
strnlen.m4
strtoimax.m4
strtoll.m4
symlink.m4
sys_random_h.m4
sys_select_h.m4
sys_socket_h.m4
sys_stat_h.m4
sys_time_h.m4
sys_types_h.m4
tempname.m4
time_h.m4
time_r.m4
time_rz.m4
timegm.m4
timer_time.m4
timespec.m4
tm_gmtoff.m4
unistd_h.m4
unlocked-io.m4
utimens.m4
utimensat.m4
utimes.m4
vararrays.m4
warnings.m4
wchar_t.m4
year2038.m4
zzgnulib.m4