From: GNU Libc Maintainers Date: Wed, 16 Dec 2020 21:33:25 +0000 (+0000) Subject: git-SEM_VALUE_MAX X-Git-Tag: archive/raspbian/2.31-6+rpi1^2~54 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=da12a61da19356920d57f4855a776bddba78d7b1;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)