* [PATCH] RTEMS: Increase SEM_VALUE_MAX
@ 2016-12-19 14:20 Sebastian Huber
2016-12-20 11:40 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Huber @ 2016-12-19 14:20 UTC (permalink / raw)
To: newlib; +Cc: Sebastian Huber
RTEMS defined SEM_VALUE_MAX to 32767 unlike other systems like FreeBSD
and glibc. A common value is INT_MAX.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
---
newlib/libc/sys/rtems/include/limits.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/sys/rtems/include/limits.h b/newlib/libc/sys/rtems/include/limits.h
index ac00e0c..5e71e4b 100644
--- a/newlib/libc/sys/rtems/include/limits.h
+++ b/newlib/libc/sys/rtems/include/limits.h
@@ -69,7 +69,7 @@
#define PAGESIZE (1<<12)
#define RTSIG_MAX 8
#define SEM_NSEMS_MAX 256
-#define SEM_VALUE_MAX 32767
+#define SEM_VALUE_MAX INT_MAX
#define SIGQUEUE_MAX 32
#define STREAM_MAX 8
#define TIMER_MAX 32
--
1.8.4.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] RTEMS: Increase SEM_VALUE_MAX
2016-12-19 14:20 [PATCH] RTEMS: Increase SEM_VALUE_MAX Sebastian Huber
@ 2016-12-20 11:40 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2016-12-20 11:40 UTC (permalink / raw)
To: newlib
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
On Dec 19 15:19, Sebastian Huber wrote:
> RTEMS defined SEM_VALUE_MAX to 32767 unlike other systems like FreeBSD
> and glibc. A common value is INT_MAX.
Applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-20 11:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-19 14:20 [PATCH] RTEMS: Increase SEM_VALUE_MAX Sebastian Huber
2016-12-20 11:40 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).