diff options
author | Kerin Millar <kfm@plushkava.net> | 2024-07-09 12:12:16 +0100 |
---|---|---|
committer | Kerin Millar <kfm@plushkava.net> | 2024-07-09 12:12:16 +0100 |
commit | 9d7875e5c6d7f772918f0dad077c7a582a2647e8 (patch) | |
tree | 26cde0950fe8bb65cb4184ca5154d7a59d535a0f | |
parent | Have _update_time() measure in centiseconds (diff) | |
download | gentoo-functions-9d7875e5c6d7f772918f0dad077c7a582a2647e8.tar.gz gentoo-functions-9d7875e5c6d7f772918f0dad077c7a582a2647e8.tar.bz2 gentoo-functions-9d7875e5c6d7f772918f0dad077c7a582a2647e8.zip |
Mention that _SC_NPROCESSORS_ONLN is now standard
https://austingroupbugs.net/view.php?id=339
Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rw-r--r-- | functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.sh b/functions.sh index 7f4bc25..660e697 100644 --- a/functions.sh +++ b/functions.sh @@ -349,8 +349,8 @@ get_nprocs() # advantage of acknowledging the effect of sched_setaffinity(2). true elif getconf _NPROCESSORS_ONLN 2>/dev/null; then - # This is a non-standard extension. Nevertheless, it works for - # glibc, musl-utils, macOS, FreeBSD, NetBSD and OpenBSD. + # This constant is standard as of POSIX-1.2024 and was already + # supported by glibc, musl-utils, macOS, FreeBSD, NetBSD and OpenBSD. true else warn "get_nprocs: failed to determine the number of processors" |