1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 21:13:52 -08:00
emacs/doc
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
..
emacs Rewrite Antinews for Emacs 28 2021-10-09 14:32:28 +03:00
lispintro ; Very minor touch-up to a recent change 2021-10-05 21:36:30 +02:00
lispref New function num-processors 2021-10-10 14:00:26 -07:00
man * doc/man/emacs.1.in: Add --no-x-resources. (Bug#50855) 2021-09-28 15:45:27 +02:00
misc Update to Org 9.5-46-gb71474 2021-10-09 16:34:12 -04:00