85566e032d
* have _SC__SEM_NSEMS_MAX return _POSIX_SEM_NSEMS_MAX, a per team limit instead of the global limit.
18 lines
370 B
C
18 lines
370 B
C
/*
|
|
* Copyright 2008-2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef SYSTEM_REALTIME_SEM_H
|
|
#define SYSTEM_REALTIME_SEM_H
|
|
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
#define MAX_POSIX_SEMS_PER_TEAM _POSIX_SEM_NSEMS_MAX
|
|
#define MAX_POSIX_SEMS 1024
|
|
#define MAX_POSIX_SEM_VALUE _POSIX_SEM_VALUE_MAX
|
|
|
|
|
|
#endif // SYSTEM_REALTIME_SEM_H
|