mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
sys/resource: Add RLIMIT_RTPRIO and RLIMIT_RTTIME definition
This commit add the definition of RLIMIT_RTPRIO and RLIMIT_RTTIME. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
d36197266a
commit
28d943b226
@@ -59,6 +59,11 @@
|
||||
#define RLIMIT_AS 7 /* Limit on address space size */
|
||||
#define RLIMIT_MEMLOCK 8 /* Limit on memory use */
|
||||
|
||||
/* Below are not implemented yet: */
|
||||
|
||||
#define RLIMIT_RTPRIO 14 /* Limit on RT tasks priority */
|
||||
#define RLIMIT_RTTIME 15 /* Limit on timeout for RT tasks (us) */
|
||||
|
||||
#if defined(CONFIG_FS_LARGEFILE)
|
||||
# define RLIM_INFINITY UINT64_MAX /* No limit */
|
||||
# define RLIM_SAVED_MAX UINT64_MAX /* Unrepresentable saved hard limit */
|
||||
|
||||
Reference in New Issue
Block a user