public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] RTEMS: Increase SEM_VALUE_MAX
@ 2016-12-20 11:39 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-12-20 11:39 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=483e696049e6c254d30663b15c7a5df1b75ca735

commit 483e696049e6c254d30663b15c7a5df1b75ca735
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Mon Dec 19 15:19:47 2016 +0100

    RTEMS: Increase SEM_VALUE_MAX
    
    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>

Diff:
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-20 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 11:39 [newlib-cygwin] RTEMS: Increase SEM_VALUE_MAX 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).