From eaedac7e6ebe061fb270eb5016d1cd047e9c1051 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Wed, 30 Apr 2025 09:01:35 +0800 Subject: [PATCH] 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 --- sysdeps/mach/hurd/bits/local_lim.h | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.30.2