From: GNU Libc Maintainers Date: Sun, 28 Jan 2024 22:58:14 +0000 (+0100) Subject: git-SEM_VALUE_MAX X-Git-Tag: archive/raspbian/2.31-13+rpi1+deb11u8^2~63 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=01898a1a2a376da3fbcacc7c435920be2c43ce7e;p=glibc.git git-SEM_VALUE_MAX Commited in 2.32 commit 5e77ec7c6e64d67f048caa5d4dd81f10fca3dffc Author: Samuel Thibault Date: Sun Feb 9 22:44:08 2020 +0000 htl: Add support for semaphore maximum value Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-SEM_VALUE_MAX.diff --- diff --git a/sysdeps/mach/hurd/bits/local_lim.h b/sysdeps/mach/hurd/bits/local_lim.h index 348eee74b..8e781e496 100644 --- a/sysdeps/mach/hurd/bits/local_lim.h +++ b/sysdeps/mach/hurd/bits/local_lim.h @@ -41,3 +41,6 @@ /* The number of threads per process. */ #define _POSIX_THREAD_THREADS_MAX 64 + +/* Maximum value the semaphore can have. */ +#define SEM_VALUE_MAX (2147483647)