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>
This commit is contained in:
parent
4e75d7f504
commit
483e696049
|
@ -69,7 +69,7 @@
|
||||||
#define PAGESIZE (1<<12)
|
#define PAGESIZE (1<<12)
|
||||||
#define RTSIG_MAX 8
|
#define RTSIG_MAX 8
|
||||||
#define SEM_NSEMS_MAX 256
|
#define SEM_NSEMS_MAX 256
|
||||||
#define SEM_VALUE_MAX 32767
|
#define SEM_VALUE_MAX INT_MAX
|
||||||
#define SIGQUEUE_MAX 32
|
#define SIGQUEUE_MAX 32
|
||||||
#define STREAM_MAX 8
|
#define STREAM_MAX 8
|
||||||
#define TIMER_MAX 32
|
#define TIMER_MAX 32
|
||||||
|
|
Loading…
Reference in New Issue