1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
emacs/lib
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
..
malloc Update from Gnulib 2021-10-04 15:21:31 -07:00
_Noreturn.h Update from Gnulib 2021-10-04 15:21:31 -07:00
acl_entries.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
acl-errno-valid.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
acl-internal.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
acl-internal.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
acl.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
af_alg.h Update from Gnulib 2021-10-04 15:21:31 -07:00
alloca.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
allocator.c Update from Gnulib 2021-10-04 15:21:31 -07:00
allocator.h Update from Gnulib 2021-10-04 15:21:31 -07:00
arg-nonnull.h Update from Gnulib 2021-10-04 15:21:31 -07:00
at-func.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
attribute.h Update from Gnulib 2021-10-04 15:21:31 -07:00
binary-io.c Update from Gnulib 2021-10-04 15:21:31 -07:00
binary-io.h Update from Gnulib 2021-10-04 15:21:31 -07:00
byteswap.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
c-ctype.c Update from Gnulib 2021-10-04 15:21:31 -07:00
c-ctype.h Update from Gnulib 2021-10-04 15:21:31 -07:00
c-strcase.h Update from Gnulib 2021-10-04 15:21:31 -07:00
c-strcasecmp.c Update from Gnulib 2021-10-04 15:21:31 -07:00
c-strncasecmp.c Update from Gnulib 2021-10-04 15:21:31 -07:00
c++defs.h Update from Gnulib 2021-10-04 15:21:31 -07:00
canonicalize-lgpl.c Update from Gnulib 2021-10-04 15:21:31 -07:00
careadlinkat.c Update from Gnulib 2021-10-04 15:21:31 -07:00
careadlinkat.h Update from Gnulib 2021-10-04 15:21:31 -07:00
cdefs.h Update from Gnulib 2021-10-04 15:21:31 -07:00
cloexec.c Update from Gnulib 2021-10-04 15:21:31 -07:00
cloexec.h Update from Gnulib 2021-10-04 15:21:31 -07:00
close-stream.c Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
close-stream.h Update from Gnulib 2021-10-04 15:21:31 -07:00
copy-file-range.c Update from Gnulib 2021-10-04 15:21:31 -07:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
count-leading-zeros.c Update from Gnulib 2021-10-04 15:21:31 -07:00
count-leading-zeros.h Update from Gnulib 2021-10-04 15:21:31 -07:00
count-one-bits.c Update from Gnulib 2021-10-04 15:21:31 -07:00
count-one-bits.h Update from Gnulib 2021-10-04 15:21:31 -07:00
count-trailing-zeros.c Update from Gnulib 2021-10-04 15:21:31 -07:00
count-trailing-zeros.h Update from Gnulib 2021-10-04 15:21:31 -07:00
diffseq.h Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
dirent.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
dirfd.c Update from Gnulib 2021-10-04 15:21:31 -07:00
dtoastr.c Update from Gnulib 2021-10-04 15:21:31 -07:00
dtotimespec.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dup2.c Update from Gnulib 2021-10-04 15:21:31 -07:00
dynarray.h Update from Gnulib 2021-10-04 15:21:31 -07:00
eloop-threshold.h Update from Gnulib 2021-10-04 15:21:31 -07:00
errno.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
euidaccess.c Update from Gnulib 2021-10-04 15:21:31 -07:00
execinfo.c Update from Gnulib 2021-10-04 15:21:31 -07:00
execinfo.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
explicit_bzero.c Update from Gnulib 2021-10-04 15:21:31 -07:00
faccessat.c Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
fchmodat.c Update from Gnulib by running admin/merge-gnulib 2021-01-22 12:02:55 -08:00
fcntl.c Update from Gnulib 2021-10-04 15:21:31 -07:00
fcntl.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
fdopendir.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
file-has-acl.c Update from Gnulib 2021-10-04 15:21:31 -07:00
filemode.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
filemode.h Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
filename.h Update from Gnulib 2021-10-04 15:21:31 -07:00
filevercmp.c Update from Gnulib 2021-10-04 15:21:31 -07:00
filevercmp.h Update from Gnulib 2021-10-04 15:21:31 -07:00
fingerprint.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
fingerprint.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
flexmember.h Update from Gnulib 2021-10-04 15:21:31 -07:00
fpending.c Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
fpending.h Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
free.c Update from Gnulib 2021-10-04 15:21:31 -07:00
fstatat.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
fsusage.c Update from Gnulib 2021-10-04 15:21:31 -07:00
fsusage.h Update from Gnulib 2021-10-04 15:21:31 -07:00
fsync.c Update from Gnulib 2021-10-04 15:21:31 -07:00
ftoastr.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ftoastr.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
futimens.c Update from Gnulib 2021-10-04 15:21:31 -07:00
get-permissions.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
getdtablesize.c Update from Gnulib 2021-10-04 15:21:31 -07:00
getgroups.c Update from Gnulib 2021-10-04 15:21:31 -07:00
getloadavg.c Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
getopt1.c Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt_int.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt-cdefs.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt-core.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt-ext.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt-pfx-core.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt-pfx-ext.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt.c Update from Gnulib 2021-10-04 15:21:31 -07:00
getopt.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
getrandom.c Update from Gnulib 2021-10-04 15:21:31 -07:00
gettext.h Update from Gnulib 2021-10-04 15:21:31 -07:00
gettime.c Update from Gnulib 2021-10-04 15:21:31 -07:00
gettimeofday.c Update from Gnulib 2021-10-04 15:21:31 -07:00
gnulib.mk.in New function num-processors 2021-10-10 14:00:26 -07:00
group-member.c Update from Gnulib 2021-10-04 15:21:31 -07:00
idx.h Update from Gnulib 2021-10-04 15:21:31 -07:00
ieee754.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
ignore-value.h Update from Gnulib 2021-10-04 15:21:31 -07:00
intprops.h Update from Gnulib 2021-10-04 15:21:31 -07:00
inttypes.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
lchmod.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
libc-config.h Update from Gnulib 2021-10-04 15:21:31 -07:00
limits.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
lstat.c Update from Gnulib 2021-10-04 15:21:31 -07:00
Makefile.in * lib/Makefile.in (Makefile): Fix typo. 2021-06-09 09:51:45 -07:00
malloc.c Update from Gnulib 2021-10-04 15:21:31 -07:00
md5-stream.c Fix md5 issue in recent Gnulib merge 2021-10-05 09:09:23 -07:00
md5.c Update from Gnulib 2021-10-04 15:21:31 -07:00
md5.h Update from Gnulib 2021-10-04 15:21:31 -07:00
memmem.c Update from Gnulib 2021-10-04 15:21:31 -07:00
mempcpy.c Update from Gnulib 2021-10-04 15:21:31 -07:00
memrchr.c Update from Gnulib 2021-10-04 15:21:31 -07:00
min-max.h
mini-gmp-gnulib.c Update from Gnulib 2021-10-04 15:21:31 -07:00
mini-gmp.c Update from Gnulib 2021-10-04 15:21:31 -07:00
mini-gmp.h Update from Gnulib 2021-10-04 15:21:31 -07:00
minmax.h Update from Gnulib 2021-10-04 15:21:31 -07:00
mkostemp.c Update from Gnulib 2021-10-04 15:21:31 -07:00
mktime-internal.h Update from Gnulib 2021-10-04 15:21:31 -07:00
mktime.c Update from Gnulib 2021-10-04 15:21:31 -07:00
nproc.c New function num-processors 2021-10-10 14:00:26 -07:00
nproc.h New function num-processors 2021-10-10 14:00:26 -07:00
nstrftime.c Update from Gnulib 2021-10-04 15:21:31 -07:00
open.c Update from Gnulib 2021-10-04 15:21:31 -07:00
openat-die.c Limit <config.h>’s includes 2016-09-30 12:38:52 -07:00
openat-priv.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
openat-proc.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
openat.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
pathmax.h Update from Gnulib 2021-10-04 15:21:31 -07:00
pipe2.c Update from Gnulib 2021-10-04 15:21:31 -07:00
pselect.c Update from Gnulib 2021-10-04 15:21:31 -07:00
pthread_sigmask.c Update from Gnulib 2021-10-04 15:21:31 -07:00
qcopy-acl.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rawmemchr.c Update from Gnulib 2021-10-04 15:21:31 -07:00
rawmemchr.valgrind Update from Gnulib 2021-10-04 15:21:31 -07:00
readlink.c Update from Gnulib 2021-10-04 15:21:31 -07:00
readlinkat.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
realloc.c Update from Gnulib 2021-10-04 15:21:31 -07:00
regcomp.c Update from Gnulib 2021-10-04 15:21:31 -07:00
regex_internal.c Update from Gnulib 2021-10-04 15:21:31 -07:00
regex_internal.h Update from Gnulib 2021-10-04 15:21:31 -07:00
regex.c Update from Gnulib 2021-10-04 15:21:31 -07:00
regex.h Update from Gnulib 2021-10-04 15:21:31 -07:00
regexec.c Update from Gnulib 2021-10-04 15:21:31 -07:00
root-uid.h Update from Gnulib 2021-10-04 15:21:31 -07:00
save-cwd.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
save-cwd.h Update from Gnulib 2021-10-04 15:21:31 -07:00
scratch_buffer.h Update from Gnulib 2021-10-04 15:21:31 -07:00
set-permissions.c Update from Gnulib 2021-10-04 15:21:31 -07:00
sha1.c Update from Gnulib 2021-10-04 15:21:31 -07:00
sha1.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sha256.c Update from Gnulib 2021-10-04 15:21:31 -07:00
sha256.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sha512.c Update from Gnulib 2021-10-04 15:21:31 -07:00
sha512.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sig2str.c Update from Gnulib by running admin/merge-gnulib. 2021-01-01 01:52:03 -08:00
sig2str.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sigdescr_np.c Update from Gnulib 2021-10-04 15:21:31 -07:00
signal.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stat-time.c Update from Gnulib 2021-10-04 15:21:31 -07:00
stat-time.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stdalign.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stddef.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stdint.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stdio-impl.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stdio.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stdlib.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
stpcpy.c Update from Gnulib 2021-10-04 15:21:31 -07:00
str-two-way.h Update from Gnulib 2021-10-04 15:21:31 -07:00
strftime.h Update from Gnulib 2021-10-04 15:21:31 -07:00
string.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
strnlen.c Update from Gnulib 2021-10-04 15:21:31 -07:00
strtoimax.c Update from Gnulib 2021-10-04 15:21:31 -07:00
strtol.c Update from Gnulib 2021-10-04 15:21:31 -07:00
strtoll.c Update from Gnulib 2021-10-04 15:21:31 -07:00
symlink.c Update from Gnulib 2021-10-04 15:21:31 -07:00
sys_random.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sys_select.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sys_stat.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sys_time.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
sys_types.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
tempname.c Update from Gnulib 2021-10-04 15:21:31 -07:00
tempname.h Update from Gnulib 2021-10-04 15:21:31 -07:00
time_r.c Update from Gnulib 2021-10-04 15:21:31 -07:00
time_rz.c Update from Gnulib 2021-10-04 15:21:31 -07:00
time-internal.h Update from Gnulib 2021-10-04 15:21:31 -07:00
time.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
timegm.c Update from Gnulib 2021-10-04 15:21:31 -07:00
timespec-add.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
timespec-sub.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
timespec.c Update from Gnulib 2021-10-04 15:21:31 -07:00
timespec.h Update from Gnulib 2021-10-04 15:21:31 -07:00
u64.c Update from Gnulib 2021-10-04 15:21:31 -07:00
u64.h Update from Gnulib 2021-10-04 15:21:31 -07:00
unistd.c Update from Gnulib 2021-10-04 15:21:31 -07:00
unistd.in.h Update from Gnulib 2021-10-04 15:21:31 -07:00
unlocked-io.h Update from Gnulib 2021-10-04 15:21:31 -07:00
utimens.c Update from Gnulib 2021-10-04 15:21:31 -07:00
utimens.h Update from Gnulib 2021-10-04 15:21:31 -07:00
utimensat.c Update from Gnulib by running admin/merge-gnulib 2021-01-22 12:02:55 -08:00
verify.h Update from Gnulib 2021-10-04 15:21:31 -07:00
vla.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
warn-on-use.h Update from Gnulib 2021-10-04 15:21:31 -07:00
xalloc-oversized.h Update from Gnulib 2021-10-04 15:21:31 -07:00