haiku/headers/private/system/posix/realtime_sem_defs.h
Jérôme Duval 85566e032d posix: add _POSIX_SEM_NSEMS_MAX.
* have _SC__SEM_NSEMS_MAX return _POSIX_SEM_NSEMS_MAX, a per team limit
instead of the global limit.
2017-02-21 20:17:16 +01:00

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